Module statements

Source

ModulesΒ§

admin
alter
copy
create
cursor
delete
describe
drop
explain
insert
option_map πŸ”’
query
set_variables
show
statement
tql
transform πŸ”’
truncate

MacrosΒ§

parse_number_to_value πŸ”’

StructsΒ§

OptionMap
Options hashmap.

ConstantsΒ§

VECTOR_TYPE_NAME πŸ”’

FunctionsΒ§

auto_cast_to_numeric πŸ”’
Casts string to value of specified numeric data type. If the string cannot be parsed, returns an error.
column_to_schema
Create a ColumnSchema from Column.
concrete_data_type_to_sql_data_type
has_primary_key_option
Return true when the ColumnDef options contain primary key
parse_column_default_constraint πŸ”’
parse_hex_string πŸ”’
parse_sql_number πŸ”’
parse_string_to_value πŸ”’
sql_column_def_to_grpc_column_def
Convert ColumnDef in sqlparser to ColumnDef in gRPC proto.
sql_data_type_to_concrete_data_type
sql_number_to_value
Convert a sql value into datatype’s value
sql_value_to_value
Converts SQL value to value according to the data type. If auto_string_to_numeric is true, tries to cast the string value to numeric values, and returns error if the cast fails.
value_to_sql_value