Group By clause
- Last Updated: March 26, 2019
- 1 minute read
- DataDirect Connectors
- JDBC
- Apache Hive 6.0
- Documentation
The Group By clause is supported, with the following Entry SQL level restrictions:
- The Collate clause is not supported.
- Select Distinct is not supported.
- The grouping column reference cannot be an alias. Both of the following
queries fail, because
fcis an alias for theintcolcolumn:SELECT intcol AS fc, COUNT (*) FROM p_gtable GROUP BY fcSELECT f(col) as fc, COUNT (*) FROM table_name GROUP BY fc