Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join now60 Days of Data Days! Live and on-demand sessions, challenges, study groups and more! And it's all FREE!. Join now. Learn more
Hi,
Which is de equivalent of running V-ORDER with visual interface in Spark SQL?
I mean, the equivalent of OPTIMIZE would be:
query = f"OPTIMIZE {table_name} ZORDER BY ({col1}, {col2})"
spark.sql(query)
VACUUM:
query = f"VACUUM {table_name} RETAIN {retention_hours} HOURS"
spark.sql(query)
Which would be de equivalent of running V-ORDER?
Solved! Go to Solution.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 23 | |
| 19 | |
| 15 | |
| 13 |