jackylee-ch opened a new pull request, #937: URL: https://github.com/apache/paimon-rust/pull/937
Java exposes `AggregationFieldsTable` (`<table>$aggregation_fields`) so a user can see which aggregate function each column of an aggregation merge-engine table is configured with. The DataFusion integration had no equivalent. This adds the `$aggregation_fields` provider: for every schema field it emits `field_name`, `field_type` (the SQL type string), `function` and `function_options` — the values and keys of that field's `fields.<name>.*` options, rendered the way Java's multimap does (`[sum]`, `[fields.total.aggregate-function]`, or `[]`) — and `comment`. Entries are sorted by option key so the output is stable. Tested by creating an aggregation table and asserting a configured column renders `[sum]` while an unconfigured one renders `[]`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
