Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
amaaiia
Skilled Sharer
Skilled Sharer

How does V-ORDER exactly work?

Hi,

Which is de equivalent of running V-ORDER with visual interface in Spark SQL?

amaaiia_0-1736869589166.png

 

 

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?

 

1 ACCEPTED SOLUTION
1 REPLY 1

Helpful resources

Announcements
December Fabric Update Carousel

Fabric Monthly Update - December 2025

Check out the December 2025 Fabric Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.