Documentation
¶
Overview ¶
Package datalake provides protocol data lake integration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDuckDBQuery ¶
GenerateDuckDBQuery generates a DuckDB query template.
Types ¶
type Column ¶
type Column struct {
Name string `json:"name"`
Type string `json:"type"`
Nullable bool `json:"nullable"`
}
Column represents a data column derived from protocol fields.
type ExportFormat ¶
type ExportFormat string
ExportFormat represents a data export format.
const ( FormatParquet ExportFormat = "parquet" FormatArrow ExportFormat = "arrow" FormatCSV ExportFormat = "csv" FormatJSON ExportFormat = "json" )
type Schema ¶
Schema represents a data lake schema for a protocol.
func DeriveSchema ¶
DeriveSchema derives a data lake schema from protocol fields.
func (*Schema) GenerateSQL ¶
GenerateSQL generates a CREATE TABLE SQL statement.
Click to show internal directories.
Click to hide internal directories.