You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Move OpenSearchSparkSqlDialect out of test scope for reuse #4820
Move OpenSearchSparkSqlDialect from ppl/src/test/java/... into a non-test source set (for example somewhere under ppl/src/main/java/... or another appropriate shared module).
Reuse it in unified query transpile API in api module in future.
What alternatives have you considered?
Copying the class into the PPL–Spark project: This works short term but creates code duplication and the risk of divergence whenever the dialect behavior changes in the SQL plugin.
Contributing all fixes to upstream Calcite: This is a slower process and may not capture all OpenSearch-/PPL-specific behavior we currently rely on.
Do you have any additional context?
This change is intended to support ongoing PPL unification work where PPL queries are parsed and planned via Calcite and then executed on Spark. Find more background, see the meta issue opensearch-project/opensearch-spark#1136.
Activity
SparkSqlDialectimprovements for PPL query translation #4776