I have a hive request like
SELECT Year, Month, Day, Hours, Minutes, cast((cast(Seconds as int)/15) as int)*15 AS secondMod, Count(*) AS PerCount FROM LoggerTable GROUP BY Year, Month, Day, Hours, Minutes, secondMod ORDER BY PerCount;
the above request fails
FAILED: semantic analysis error: row 1: 175 Invalid table alias or ReferenceModMod column
"LoggerTable" is a table with a table with all columns of row type.
Any workaround for this problem?
hadoop hive
Seenu
source share