I'm wondering why visiting WithCTE will fallback to SizeInBytesOnlyStatsPlanVisitor. This will absolutely reduce precision of estimation. I'm reading the github apache spark code, but still cannot figure out why. Can anyone help me?
Spark sql, why fallback to SizeInBytesOnlyStatsPlanVisitor when visitWithCTE in BasicStatsPlanVisitor?
12 views Asked by huxiaoxiang At
0
There are 0 answers
Related Questions in APACHE-SPARK-SQL
- Spark load all partions at once
- Joining 2 pyspark dataframes and continuing a running window sum and max
- Understanding least common type in databricks
- Insert selective columns into pyspark dataframe
- Dataframe won't save as anything - table, global temp view or temp view
- Spark TBLPROPERTIES to sql query?
- How to groupBy on two columns and work out avg total value for each grouped column using pyspark
- Spark SQL repartition before insert operation
- Convert 3 letter month column into a month number in Databricks SQL
- Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 1 - When reading table in SQL
- How to sort a PySpark dataframe rows by the order of a list?
- How to read csv files in dbfs using Spark SQL only?
- Handle different date formats in Pyspark
- Insert Overwrite partition data using Spark SQL on MINIO table
- update value in specific row by checking condition for another column values in pyspark
Related Questions in COST-BASED-OPTIMIZER
- shortest path algorithm with expected cost
- Spark sql, why fallback to SizeInBytesOnlyStatsPlanVisitor when visitWithCTE in BasicStatsPlanVisitor?
- Can we use CostBasedJoinReorder in Spark SQL AQE
- How can we use costcla package if we have installed python v3.9.7 ? If I degrade python to v3.5 then I hav to change version of tf, cuda and cudnn too
- how to write "then" as IP constraint in Julia
- How to optimize the electric vehicle charging cost using Gekko?
- How does MySQL calculated a query cost?
- How do you inspect candidate logical plans of cost-based SQL optimizer in spark (scala)?
- Why are bad row estimates slow in Postgres?
- How to add costs to routes in Anylogic?
- Piecewise linear programming in CPLEX
- Oracle Hash Join - Probe Table: Index over Partition?
- Resource Allocation Algorithms - Minimize cost given Time
- Oracle Avoid Wasteful Join Back?
- How to assign each task to every crew so for a better cost optimization?
Related Questions in CBO
- Oracle MAX() bug with NULLs CBO index fix leads to index limitation
- Performance problem with QUERY using BIND variables and OR condition in Oracle 12.2
- Determining the Efferent coupling between objects (CBO Metric) using the parsed byte-code generated by BCEL
- Oracle timestamp with local time zone CBO Format
- Oracle 12.2 - Wrong output in query with NESTED LOOPS and ANTI JOIN
- Oracle Query with Cross join - Performance problem
- Can we leverage Spark's CBO (Cost Based Optimizer) with native parquet or in-memory dataframe?
- PostgreSQL - fetch the rows which have the Max value for a column in each GROUP BY group
- Tips for improving this slow mysql query?
- Calculating Efferent Coupling in Java
- Adding 'distinct' keyword to oracle query obliterates query performance for no reason
- Oracle adding a condition in where clause slows down a query
- Oracle Optimizer not taking the same plan. SQL Dev vs Application Code
- hive: Plan not optimized by CBO
- Spark sql, why fallback to SizeInBytesOnlyStatsPlanVisitor when visitWithCTE in BasicStatsPlanVisitor?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)