Compare commits

...

2 Commits

Author SHA1 Message Date
Cursor Agent 81d6106618 Add zorder_encode function to vectorized functions list
Co-authored-by: huanmingwong <huanmingwong@gmail.com>
2025-08-18 02:19:34 +00:00
Cursor Agent cab8495f9f Add zorder_encode function to utility functions
Co-authored-by: huanmingwong <huanmingwong@gmail.com>
2025-08-18 02:09:47 +00:00
2 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,9 @@ public:
// Build an order-preserving composite binary key from heterogeneous arguments
DEFINE_VECTORIZED_FN(encode_sort_key);
// Z-Order (Morton) encoding for multi-dimensional clustering
DEFINE_VECTORIZED_FN(zorder_encode);
};
} // namespace starrocks

View File

@ -826,6 +826,7 @@ vectorized_functions = [
[100018, 'host_name', True, False, 'VARCHAR', [], "UtilityFunctions::host_name"],
[100020, 'get_query_profile', True, False, 'VARCHAR', ['VARCHAR'], "UtilityFunctions::get_query_profile"],
[100024, 'encode_sort_key', True, False, 'VARBINARY', ['ANY_ELEMENT', '...'], 'UtilityFunctions::encode_sort_key'],
[100025, 'zorder_encode', True, False, 'VARBINARY', ['ANY_ELEMENT', '...'], 'UtilityFunctions::zorder_encode'],
# json string function
[110022, "get_json_int", False, False, "BIGINT", ["VARCHAR", "VARCHAR"], "JsonFunctions::get_json_bigint",