bala-zx opened a new pull request, #2997: URL: https://github.com/apache/datafusion-ballista/pull/2997
# Which issue does this PR close? Part of #2968. # Rationale for this change generate_series and range queries produce a TableScan backed by GenerateSeriesTable. Right now BallistaLogicalExtensionCodec forwards try_encode_table_provider and try_decode_table_provider straight to DefaultLogicalExtensionCodec, so submitting the logical plan to the scheduler fails to serialize the table provider. # What changes are included in this PR? - Add BallistaTableProviderNode wrapping datafusion.GenerateSeriesNode to ballista/core/proto/ballista.proto and regenerate the Rust protobuf definitions. - Implement try_encode_table_provider and try_decode_table_provider in BallistaLogicalExtensionCodec (ballista/core/src/serde/mod.rs) for GenerateSeriesTable. - Add logical roundtrip tests in ballista/core/src/serde/mod.rs and an end-to-end test in ballista/client/tests/context_basic.rs. # Are there any user-facing changes? Queries using generate_series and range now work on Ballista. Note: updates ballista/core/proto/ballista.proto (proto-change). -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
