- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2026 03:21 AM
Hi All
I have a view creation script in DataBricks which uses a lateral view to access columns in a structure held within an array field.
It is working fine but I have noted that the LATERAL VIEW is now depracated and that I should be using a TABLE REFERENCE instead.
I just cannot get the command to work however, so my question is - how do I convert the following to a TABLE REFERENCE ?
- Labels:
-
Delta Lake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2026 03:47 AM
Hi try this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2026 04:33 AM
Hi Again. Thank you for the extremely quick reply !
Unfortunately DataBricks doesn't seem to like the syntax above and returns the error :
[UNRESOLVABLE_TABLE_VALUED_FUNCTION] Could not resolve TABLE to a table-valued function. Please make sure that TABLE is defined as a table-valued function and that all required parameters are provided correctly. If TABLE is not defined, please create the table-valued function before using it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2026 08:32 AM
You can use
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2026 04:52 AM
- That's it !!!!!
Thank you so much 😁