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
[SPARK-31877][SQL]Avoid stats computation for Hive table #28686
Changes from 3 commits
5c782a7
3b3b4cc
a58a75f
d5e999f
88fefaf
571319b
9b4c18d
ccba79b
3ce6fbb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,8 +82,8 @@ class HiveSessionStateBuilder(session: SparkSession, parentState: Option[Session | |
|
||
override val postHocResolutionRules: Seq[Rule[LogicalPlan]] = | ||
new DetectAmbiguousSelfJoin(conf) +: | ||
new DetermineTableStats(session) +: | ||
RelationConversions(conf, catalog) +: | ||
new DetermineTableStats(session) +: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
As you change the order of That said, if the user is willing to use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @viirya Hive tables are converted To There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I mean previously Now as you change the rule order, when running There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @viirya Thanks for catching this, I think this re-order will not be useful. I will decline this pull request. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Ah, I see. I missed that code flow. |
||
PreprocessTableCreation(session) +: | ||
PreprocessTableInsertion(conf) +: | ||
DataSourceAnalysis(conf) +: | ||
|
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.
We still need to use
Option
?