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 Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now