-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transpile snow flake select statement #1203
base: drop-PlanParser-dependency-on-antlr4-
Are you sure you want to change the base?
Transpile snow flake select statement #1203
Conversation
|
||
/** | ||
* Returns true if this expression and all its children have been resolved to a specific schema and false if it still | ||
* contains any unresolved placeholders. Implementations of LogicalPlan can override this (e.g.[[UnresolvedRelation]] | ||
* should return `false`). | ||
*/ | ||
lazy val resolved: Boolean = expressions.forall(_.resolved) && childrenResolved | ||
var comments: Array[CommentNode] = Array() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be discussed, mutating a node at parse time is no big deal, alternately we could insert comment nodes before first child (or after depending on context), but that also requires mutating the tree
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we have started running before we know the correct direction. As per previous comments, we need to design this as it is potentially a big change.
Indeed but feasability can only be proven by feasing... Now we know what can be done, and we have evidence of which problems are introduced |
borrows technical idea from #1208, but applies it to a new field, thus avoiding any backwards compatibility issue.
Adds a test for checking transpilation of SnowFlake select statement, and fixes issues
Requires #1201
Progresses #869
Supersedes #1193