cloud-fan commented on pull request #35248: URL: https://github.com/apache/spark/pull/35248#issuecomment-1032681495
@beliefer Please enrich the PR description to explain the motivation of this approach. It's a new framework to represent catalyst expressions in DS v2 APIs, and CASE WHEN is just the first use case. To @HyukjinKwon , I proposed this idea because it's too much work to duplicate all the catalyst expressions in DS v2 with Java classes. In fact, the current basic DS v2 predicate/aggregate expressions should be sufficient for simple data sources that are file-based. It turns out that the sources which need advanced pushdown support are almost all SQL systems like Oracle, Clickhouse, etc., and it's actually better for them to get a SQL string directly, instead of building SQL string manually from DS v2 expressions. -- 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]
