Include support for TABLE function derived table. In SQL standard, it is defined as:
Further, include limited support for its usage as LATERAL derived table.
This will allow Hive to execute queries such as:
The idea is to rely on AST rewriting for such cases, as TABLE can be implemented using inline UDTF with an array of structs representing the rows in the VALUES clause.