Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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 |
|---|---|
| 18 | |
| 5 | |
| 4 | |
| 2 | |
| 2 |