Reputation: 25
my query is like : with bigQuery as ( ) select * from bigQuery ;
with bigQuery as ( ) select * from bigQuery ;
how to write it with HQL ??
Upvotes: 1
Views: 1890
Reputation: 1278
You can't. HQL can be used with mapped tables only; you can't use it to create tables on the fly. Use native SQL if you need to do this. further info HERE