Skip to content

Enhanced the list of supported table function parameters types#21

Merged
VGSML merged 3 commits intomainfrom
feat/extend_tablefunc_parameters_types
Jan 9, 2026
Merged

Enhanced the list of supported table function parameters types#21
VGSML merged 3 commits intomainfrom
feat/extend_tablefunc_parameters_types

Conversation

@VGSML
Copy link
Contributor

@VGSML VGSML commented Jan 9, 2026

Enhanced the extractScalarValue function to support additional Arrow data types including Date, Timestamp, Time, Decimal, List, Struct, and Map.

Refactor code to use 'any' type instead of 'interface{}' for improved type safety and clarity

  • Updated various functions and methods across multiple files to replace instances of 'interface{}' with 'any'.
  • Modified the handling of app metadata, transaction responses, and parameter extraction to utilize the new type.
  • Added comprehensive unit tests for extractScalarValue to ensure correct handling of various data types.
  • Adjusted integration tests and quickstart examples to align with the new type usage.

Closes #20

VGSML and others added 3 commits January 9, 2026 23:33
…data types including Date, Timestamp, Time, Decimal, List, Struct, and Map.

Refactor code to use 'any' type instead of 'interface{}' for improved type safety and clarity

- Updated various functions and methods across multiple files to replace instances of 'interface{}' with 'any'.
- Modified the handling of app metadata, transaction responses, and parameter extraction to utilize the new type.
- Added comprehensive unit tests for extractScalarValue to ensure correct handling of various data types.
- Adjusted integration tests and quickstart examples to align with the new type usage.
- Change FunctionParams from []any to []byte for direct storage of raw
  Arrow IPC encoded parameters
- Remove decodeTableFunctionParameters function (no longer needed)
- Rename EncodeTicket to EncodeTableTicket for clarity
- Add Encode() method to TicketData for general ticket encoding
- Simplify base64 handling by letting json.Marshal/Unmarshal handle
  []byte encoding automatically
- Remove duplicate base64 decoding that caused "illegal base64 data" errors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@VGSML VGSML merged commit 990e78c into main Jan 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

list type as parameter not supported

1 participant