cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Logic execute when we create an View?

Nhan_Nguyen
Valued Contributor

Hi all,

I have a small curious about VIEW on Databricks. Could anyone please help me clarify this?

Normal database like Postgres or MS SQL, when we define a view, the logic still not execute that time, only run when we query that VIEW.

Not sure how VIEW work on Databricks SQL?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

daniel_sahal
Esteemed Contributor

@Nhan Nguyen​ 

It works the same. CREATE VIEW constructs a virtual table that has no physical data.

View solution in original post

1 REPLY 1

daniel_sahal
Esteemed Contributor

@Nhan Nguyen​ 

It works the same. CREATE VIEW constructs a virtual table that has no physical data.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!