11.185. Release 0.56

Table Creation

Tables can be created from the result of a query:

  1. CREATE TABLE orders_by_date AS
  2. SELECT orderdate, sum(totalprice) AS price
  3. FROM orders
  4. GROUP BY orderdate

Tables are created in Hive without partitions (unpartitioned) and useRCFile with the Binary SerDe (LazyBinaryColumnarSerDe) as this iscurrently the best format for Presto.

Note

This is a backwards incompatible change to ConnectorMetadata in the SPI,so if you have written a connector, you will need to update your code beforedeploying this release. We recommend changing your connector to extend fromthe new ReadOnlyConnectorMetadata abstract base class unless you want tosupport table creation.

Cross Joins

Cross joins are supported using the standard ANSI SQL syntax:

  1. SELECT *
  2. FROM a
  3. CROSS JOIN b

Inner joins that result in a cross join due to the join criteria evaluatingto true at analysis time are also supported.