Github user yhuai commented on a diff in the pull request:
https://github.com/apache/spark/pull/11768#discussion_r56408062
--- Diff:
sql/hive/src/main/scala/org/apache/spark/sql/hive/SQLBuilder.scala ---
@@ -333,6 +360,9 @@ class SQLBuilder(logicalPlan: LogicalPlan, sqlContext:
SQLContext) extends Loggi
// operators on top of a table relation, merge the sample
information into `SQLTable` of
// that table relation, as we can only convert table sample to
standard SQL string.
ResolveSQLTable,
+ // Re-order operators to let them generate legal SQL string, e.g.
we should push down
+ // `Generate` through `Filter`. We should enrich this rule in the
future.
--- End diff --
Can you explain what you mean on "We should enrich this rule in the
future."?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]