From 1aba06bd9af853d64246d11d002d20ec6d1b9fd1 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Fri, 26 Nov 2021 17:23:15 +0800 Subject: [PATCH] pass CI tests --- tests/pytest/functions/function_floor.py | 1034 ++++++++++----------- tests/pytest/functions/function_round.py | 1035 +++++++++++----------- 2 files changed, 1046 insertions(+), 1023 deletions(-) diff --git a/tests/pytest/functions/function_floor.py b/tests/pytest/functions/function_floor.py index d501758105..562bbbc472 100644 --- a/tests/pytest/functions/function_floor.py +++ b/tests/pytest/functions/function_floor.py @@ -1373,517 +1373,529 @@ class TDTestCase: self.randomUTinyint())) shouldPass = ['select floor(int_col) from super', - 'select floor(int_col) from t1', - 'select floor(bigint_col) from super', - 'select floor(bigint_col) from t1', - 'select floor(float_col) from super', - 'select floor(float_col) from t1', - 'select floor(double_col) from super', - 'select floor(double_col) from t1', - 'select floor(smallint_col) from super', - 'select floor(smallint_col) from t1', - 'select floor(tinyint_col) from super', - 'select floor(tinyint_col) from t1', - 'select floor(uint_col) from super', - 'select floor(uint_col) from t1', - 'select floor(ubigint_col) from super', - 'select floor(ubigint_col) from t1', - 'select floor(usmallint_col) from super', - 'select floor(usmallint_col) from t1', - 'select floor(utinyint_col) from super', - 'select floor(utinyint_col) from t1', - 'select floor(int_col) - floor(int_col) from super', - 'select floor(int_col) - floor(int_col) from t1', - 'select floor(bigint_col) - floor(bigint_col) from super', - 'select floor(bigint_col) - floor(bigint_col) from t1', - 'select floor(float_col) - floor(float_col) from super', - 'select floor(float_col) - floor(float_col) from t1', - 'select floor(double_col) - floor(double_col) from super', - 'select floor(double_col) - floor(double_col) from t1', - 'select floor(smallint_col) - floor(smallint_col) from super', - 'select floor(smallint_col) - floor(smallint_col) from t1', - 'select floor(tinyint_col) - floor(tinyint_col) from super', - 'select floor(tinyint_col) - floor(tinyint_col) from t1', - 'select floor(uint_col) - floor(uint_col) from super', - 'select floor(uint_col) - floor(uint_col) from t1', - 'select floor(ubigint_col) - floor(ubigint_col) from super', - 'select floor(ubigint_col) - floor(ubigint_col) from t1', - 'select floor(usmallint_col) - floor(usmallint_col) from super', - 'select floor(usmallint_col) - floor(usmallint_col) from t1', - 'select floor(utinyint_col) - floor(utinyint_col) from super', - 'select floor(utinyint_col) - floor(utinyint_col) from t1', - 'select floor(int_col) / floor(int_col) from super', - 'select floor(int_col) / floor(int_col) from t1', - 'select floor(bigint_col) / floor(bigint_col) from super', - 'select floor(bigint_col) / floor(bigint_col) from t1', - 'select floor(float_col) / floor(float_col) from super', - 'select floor(float_col) / floor(float_col) from t1', - 'select floor(double_col) / floor(double_col) from super', - 'select floor(double_col) / floor(double_col) from t1', - 'select floor(smallint_col) / floor(smallint_col) from super', - 'select floor(smallint_col) / floor(smallint_col) from t1', - 'select floor(tinyint_col) / floor(tinyint_col) from super', - 'select floor(tinyint_col) / floor(tinyint_col) from t1', - 'select floor(uint_col) / floor(uint_col) from super', - 'select floor(uint_col) / floor(uint_col) from t1', - 'select floor(ubigint_col) / floor(ubigint_col) from super', - 'select floor(ubigint_col) / floor(ubigint_col) from t1', - 'select floor(usmallint_col) / floor(usmallint_col) from super', - 'select floor(usmallint_col) / floor(usmallint_col) from t1', - 'select floor(utinyint_col) / floor(utinyint_col) from super', - 'select floor(utinyint_col) / floor(utinyint_col) from t1', - 'select floor(int_col) * floor(int_col) from super', - 'select floor(int_col) * floor(int_col) from t1', - 'select floor(bigint_col) * floor(bigint_col) from super', - 'select floor(bigint_col) * floor(bigint_col) from t1', - 'select floor(float_col) * floor(float_col) from super', - 'select floor(float_col) * floor(float_col) from t1', - 'select floor(double_col) * floor(double_col) from super', - 'select floor(double_col) * floor(double_col) from t1', - 'select floor(smallint_col) * floor(smallint_col) from super', - 'select floor(smallint_col) * floor(smallint_col) from t1', - 'select floor(tinyint_col) * floor(tinyint_col) from super', - 'select floor(tinyint_col) * floor(tinyint_col) from t1', - 'select floor(uint_col) * floor(uint_col) from super', - 'select floor(uint_col) * floor(uint_col) from t1', - 'select floor(ubigint_col) * floor(ubigint_col) from super', - 'select floor(ubigint_col) * floor(ubigint_col) from t1', - 'select floor(usmallint_col) * floor(usmallint_col) from super', - 'select floor(usmallint_col) * floor(usmallint_col) from t1', - 'select floor(utinyint_col) * floor(utinyint_col) from super', - 'select floor(utinyint_col) * floor(utinyint_col) from t1', - 'select floor(count(ts)) from super', - 'select floor(count(ts)) from t1', - 'select floor(count(timestamp_col)) from super', - 'select floor(count(timestamp_col)) from t1', - 'select floor(count(int_col)) from super', - 'select floor(count(int_col)) from t1', - 'select floor(count(bigint_col)) from super', - 'select floor(count(bigint_col)) from t1', - 'select floor(count(float_col)) from super', - 'select floor(count(float_col)) from t1', - 'select floor(count(double_col)) from super', - 'select floor(count(double_col)) from t1', - 'select floor(count(binary_col)) from super', - 'select floor(count(binary_col)) from t1', - 'select floor(count(smallint_col)) from super', - 'select floor(count(smallint_col)) from t1', - 'select floor(count(tinyint_col)) from super', - 'select floor(count(tinyint_col)) from t1', - 'select floor(count(bool_col)) from super', - 'select floor(count(bool_col)) from t1', - 'select floor(count(nchar_col)) from super', - 'select floor(count(nchar_col)) from t1', - 'select floor(count(uint_col)) from super', - 'select floor(count(uint_col)) from t1', - 'select floor(count(ubigint_col)) from super', - 'select floor(count(ubigint_col)) from t1', - 'select floor(count(usmallint_col)) from super', - 'select floor(count(usmallint_col)) from t1', - 'select floor(count(utinyint_col)) from super', - 'select floor(count(utinyint_col)) from t1', - 'select floor(count(timestamp_tag)) from super', - 'select floor(count(timestamp_tag)) from t1', - 'select floor(count(int_tag)) from super', - 'select floor(count(int_tag)) from t1', - 'select floor(count(bigint_tag)) from super', - 'select floor(count(bigint_tag)) from t1', - 'select floor(count(float_tag)) from super', - 'select floor(count(float_tag)) from t1', - 'select floor(count(double_tag)) from super', - 'select floor(count(double_tag)) from t1', - 'select floor(count(binary_tag)) from super', - 'select floor(count(binary_tag)) from t1', - 'select floor(count(smallint_tag)) from super', - 'select floor(count(smallint_tag)) from t1', - 'select floor(count(tinyint_tag)) from super', - 'select floor(count(tinyint_tag)) from t1', - 'select floor(count(bool_tag)) from super', - 'select floor(count(bool_tag)) from t1', - 'select floor(count(nchar_tag)) from super', - 'select floor(count(nchar_tag)) from t1', - 'select floor(count(uint_tag)) from super', - 'select floor(count(uint_tag)) from t1', - 'select floor(count(ubigint_tag)) from super', - 'select floor(count(ubigint_tag)) from t1', - 'select floor(count(usmallint_tag)) from super', - 'select floor(count(usmallint_tag)) from t1', - 'select floor(count(utinyint_tag)) from super', - 'select floor(count(utinyint_tag)) from t1', - 'select floor(avg(int_col)) from super', - 'select floor(avg(int_col)) from t1', - 'select floor(avg(bigint_col)) from super', - 'select floor(avg(bigint_col)) from t1', - 'select floor(avg(float_col)) from super', - 'select floor(avg(float_col)) from t1', - 'select floor(avg(double_col)) from super', - 'select floor(avg(double_col)) from t1', - 'select floor(avg(smallint_col)) from super', - 'select floor(avg(smallint_col)) from t1', - 'select floor(avg(tinyint_col)) from super', - 'select floor(avg(tinyint_col)) from t1', - 'select floor(avg(uint_col)) from super', - 'select floor(avg(uint_col)) from t1', - 'select floor(avg(ubigint_col)) from super', - 'select floor(avg(ubigint_col)) from t1', - 'select floor(avg(usmallint_col)) from super', - 'select floor(avg(usmallint_col)) from t1', - 'select floor(avg(utinyint_col)) from super', - 'select floor(avg(utinyint_col)) from t1', - 'select floor(twa(int_col)) from t1', - 'select floor(twa(bigint_col)) from t1', - 'select floor(twa(float_col)) from t1', - 'select floor(twa(double_col)) from t1', - 'select floor(twa(smallint_col)) from t1', - 'select floor(twa(tinyint_col)) from t1', - 'select floor(twa(uint_col)) from t1', - 'select floor(twa(ubigint_col)) from t1', - 'select floor(twa(usmallint_col)) from t1', - 'select floor(twa(utinyint_col)) from t1', - 'select floor(sum(int_col)) from super', - 'select floor(sum(int_col)) from t1', - 'select floor(sum(bigint_col)) from super', - 'select floor(sum(bigint_col)) from t1', - 'select floor(sum(float_col)) from super', - 'select floor(sum(float_col)) from t1', - 'select floor(sum(double_col)) from super', - 'select floor(sum(double_col)) from t1', - 'select floor(sum(smallint_col)) from super', - 'select floor(sum(smallint_col)) from t1', - 'select floor(sum(tinyint_col)) from super', - 'select floor(sum(tinyint_col)) from t1', - 'select floor(sum(uint_col)) from super', - 'select floor(sum(uint_col)) from t1', - 'select floor(sum(ubigint_col)) from super', - 'select floor(sum(ubigint_col)) from t1', - 'select floor(sum(usmallint_col)) from super', - 'select floor(sum(usmallint_col)) from t1', - 'select floor(sum(utinyint_col)) from super', - 'select floor(sum(utinyint_col)) from t1', - 'select floor(stddev(int_col)) from super', - 'select floor(stddev(int_col)) from t1', - 'select floor(stddev(bigint_col)) from super', - 'select floor(stddev(bigint_col)) from t1', - 'select floor(stddev(float_col)) from super', - 'select floor(stddev(float_col)) from t1', - 'select floor(stddev(double_col)) from super', - 'select floor(stddev(double_col)) from t1', - 'select floor(stddev(smallint_col)) from super', - 'select floor(stddev(smallint_col)) from t1', - 'select floor(stddev(tinyint_col)) from super', - 'select floor(stddev(tinyint_col)) from t1', - 'select floor(stddev(uint_col)) from super', - 'select floor(stddev(uint_col)) from t1', - 'select floor(stddev(ubigint_col)) from super', - 'select floor(stddev(ubigint_col)) from t1', - 'select floor(stddev(usmallint_col)) from super', - 'select floor(stddev(usmallint_col)) from t1', - 'select floor(stddev(utinyint_col)) from super', - 'select floor(stddev(utinyint_col)) from t1', - 'select floor(irate(int_col)) from t1', - 'select floor(irate(bigint_col)) from t1', - 'select floor(irate(float_col)) from t1', - 'select floor(irate(double_col)) from t1', - 'select floor(irate(smallint_col)) from t1', - 'select floor(irate(tinyint_col)) from t1', - 'select floor(irate(uint_col)) from t1', - 'select floor(irate(ubigint_col)) from t1', - 'select floor(irate(usmallint_col)) from t1', - 'select floor(irate(utinyint_col)) from t1', - 'select floor(min(int_col)) from super', - 'select floor(min(int_col)) from t1', - 'select floor(min(bigint_col)) from super', - 'select floor(min(bigint_col)) from t1', - 'select floor(min(float_col)) from super', - 'select floor(min(float_col)) from t1', - 'select floor(min(double_col)) from super', - 'select floor(min(double_col)) from t1', - 'select floor(min(smallint_col)) from super', - 'select floor(min(smallint_col)) from t1', - 'select floor(min(tinyint_col)) from super', - 'select floor(min(tinyint_col)) from t1', - 'select floor(min(uint_col)) from super', - 'select floor(min(uint_col)) from t1', - 'select floor(min(ubigint_col)) from super', - 'select floor(min(ubigint_col)) from t1', - 'select floor(min(usmallint_col)) from super', - 'select floor(min(usmallint_col)) from t1', - 'select floor(min(utinyint_col)) from super', - 'select floor(min(utinyint_col)) from t1', - 'select floor(max(int_col)) from super', - 'select floor(max(int_col)) from t1', - 'select floor(max(bigint_col)) from super', - 'select floor(max(bigint_col)) from t1', - 'select floor(max(float_col)) from super', - 'select floor(max(float_col)) from t1', - 'select floor(max(double_col)) from super', - 'select floor(max(double_col)) from t1', - 'select floor(max(smallint_col)) from super', - 'select floor(max(smallint_col)) from t1', - 'select floor(max(tinyint_col)) from super', - 'select floor(max(tinyint_col)) from t1', - 'select floor(max(uint_col)) from super', - 'select floor(max(uint_col)) from t1', - 'select floor(max(ubigint_col)) from super', - 'select floor(max(ubigint_col)) from t1', - 'select floor(max(usmallint_col)) from super', - 'select floor(max(usmallint_col)) from t1', - 'select floor(max(utinyint_col)) from super', - 'select floor(max(utinyint_col)) from t1', - 'select floor(first(int_col)) from super', - 'select floor(first(int_col)) from t1', - 'select floor(first(bigint_col)) from super', - 'select floor(first(bigint_col)) from t1', - 'select floor(first(float_col)) from super', - 'select floor(first(float_col)) from t1', - 'select floor(first(double_col)) from super', - 'select floor(first(double_col)) from t1', - 'select floor(first(smallint_col)) from super', - 'select floor(first(smallint_col)) from t1', - 'select floor(first(tinyint_col)) from super', - 'select floor(first(tinyint_col)) from t1', - 'select floor(first(uint_col)) from super', - 'select floor(first(uint_col)) from t1', - 'select floor(first(ubigint_col)) from super', - 'select floor(first(ubigint_col)) from t1', - 'select floor(first(usmallint_col)) from super', - 'select floor(first(usmallint_col)) from t1', - 'select floor(first(utinyint_col)) from super', - 'select floor(first(utinyint_col)) from t1', - 'select floor(last(int_col)) from super', - 'select floor(last(int_col)) from t1', - 'select floor(last(bigint_col)) from super', - 'select floor(last(bigint_col)) from t1', - 'select floor(last(float_col)) from super', - 'select floor(last(float_col)) from t1', - 'select floor(last(double_col)) from super', - 'select floor(last(double_col)) from t1', - 'select floor(last(smallint_col)) from super', - 'select floor(last(smallint_col)) from t1', - 'select floor(last(tinyint_col)) from super', - 'select floor(last(tinyint_col)) from t1', - 'select floor(last(uint_col)) from super', - 'select floor(last(uint_col)) from t1', - 'select floor(last(ubigint_col)) from super', - 'select floor(last(ubigint_col)) from t1', - 'select floor(last(usmallint_col)) from super', - 'select floor(last(usmallint_col)) from t1', - 'select floor(last(utinyint_col)) from super', - 'select floor(last(utinyint_col)) from t1', - 'select floor(percentile(int_col, 1)) from t1', - 'select floor(percentile(bigint_col, 1)) from t1', - 'select floor(percentile(float_col, 1)) from t1', - 'select floor(percentile(double_col, 1)) from t1', - 'select floor(percentile(smallint_col, 1)) from t1', - 'select floor(percentile(tinyint_col, 1)) from t1', - 'select floor(percentile(uint_col, 1)) from t1', - 'select floor(percentile(ubigint_col, 1)) from t1', - 'select floor(percentile(usmallint_col, 1)) from t1', - 'select floor(percentile(utinyint_col, 1)) from t1', - 'select floor(apercentile(int_col, 1)) from super', - 'select floor(apercentile(int_col, 1)) from t1', - 'select floor(apercentile(bigint_col, 1)) from super', - 'select floor(apercentile(bigint_col, 1)) from t1', - 'select floor(apercentile(float_col, 1)) from super', - 'select floor(apercentile(float_col, 1)) from t1', - 'select floor(apercentile(double_col, 1)) from super', - 'select floor(apercentile(double_col, 1)) from t1', - 'select floor(apercentile(smallint_col, 1)) from super', - 'select floor(apercentile(smallint_col, 1)) from t1', - 'select floor(apercentile(tinyint_col, 1)) from super', - 'select floor(apercentile(tinyint_col, 1)) from t1', - 'select floor(apercentile(uint_col, 1)) from super', - 'select floor(apercentile(uint_col, 1)) from t1', - 'select floor(apercentile(ubigint_col, 1)) from super', - 'select floor(apercentile(ubigint_col, 1)) from t1', - 'select floor(apercentile(usmallint_col, 1)) from super', - 'select floor(apercentile(usmallint_col, 1)) from t1', - 'select floor(apercentile(utinyint_col, 1)) from super', - 'select floor(apercentile(utinyint_col, 1)) from t1', - 'select floor(last_row(int_col)) from super', - 'select floor(last_row(int_col)) from t1', - 'select floor(last_row(bigint_col)) from super', - 'select floor(last_row(bigint_col)) from t1', - 'select floor(last_row(float_col)) from super', - 'select floor(last_row(float_col)) from t1', - 'select floor(last_row(double_col)) from super', - 'select floor(last_row(double_col)) from t1', - 'select floor(last_row(smallint_col)) from super', - 'select floor(last_row(smallint_col)) from t1', - 'select floor(last_row(tinyint_col)) from super', - 'select floor(last_row(tinyint_col)) from t1', - 'select floor(last_row(uint_col)) from super', - 'select floor(last_row(uint_col)) from t1', - 'select floor(last_row(ubigint_col)) from super', - 'select floor(last_row(ubigint_col)) from t1', - 'select floor(last_row(usmallint_col)) from super', - 'select floor(last_row(usmallint_col)) from t1', - 'select floor(last_row(utinyint_col)) from super', - 'select floor(last_row(utinyint_col)) from t1', - 'select floor(spread(ts)) from super', - 'select floor(spread(ts)) from t1', - 'select floor(spread(timestamp_col)) from super', - 'select floor(spread(timestamp_col)) from t1', - 'select floor(spread(int_col)) from super', - 'select floor(spread(int_col)) from t1', - 'select floor(spread(bigint_col)) from super', - 'select floor(spread(bigint_col)) from t1', - 'select floor(spread(float_col)) from super', - 'select floor(spread(float_col)) from t1', - 'select floor(spread(double_col)) from super', - 'select floor(spread(double_col)) from t1', - 'select floor(spread(smallint_col)) from super', - 'select floor(spread(smallint_col)) from t1', - 'select floor(spread(tinyint_col)) from super', - 'select floor(spread(tinyint_col)) from t1', - 'select floor(spread(uint_col)) from super', - 'select floor(spread(uint_col)) from t1', - 'select floor(spread(ubigint_col)) from super', - 'select floor(spread(ubigint_col)) from t1', - 'select floor(spread(usmallint_col)) from super', - 'select floor(spread(usmallint_col)) from t1', - 'select floor(spread(utinyint_col)) from super', - 'select floor(spread(utinyint_col)) from t1', - 'select floor(int_col + int_col) from super', - 'select floor(int_col + int_col) from t1', - 'select floor(bigint_col + bigint_col) from super', - 'select floor(bigint_col + bigint_col) from t1', - 'select floor(float_col + float_col) from super', - 'select floor(float_col + float_col) from t1', - 'select floor(double_col + double_col) from super', - 'select floor(double_col + double_col) from t1', - 'select floor(smallint_col + smallint_col) from super', - 'select floor(smallint_col + smallint_col) from t1', - 'select floor(tinyint_col + tinyint_col) from super', - 'select floor(tinyint_col + tinyint_col) from t1', - 'select floor(uint_col + uint_col) from super', - 'select floor(uint_col + uint_col) from t1', - 'select floor(ubigint_col + ubigint_col) from super', - 'select floor(ubigint_col + ubigint_col) from t1', - 'select floor(usmallint_col + usmallint_col) from super', - 'select floor(usmallint_col + usmallint_col) from t1', - 'select floor(utinyint_col + utinyint_col) from super', - 'select floor(utinyint_col + utinyint_col) from t1', - 'select floor(int_col - int_col) from super', - 'select floor(int_col - int_col) from t1', - 'select floor(bigint_col - bigint_col) from super', - 'select floor(bigint_col - bigint_col) from t1', - 'select floor(float_col - float_col) from super', - 'select floor(float_col - float_col) from t1', - 'select floor(double_col - double_col) from super', - 'select floor(double_col - double_col) from t1', - 'select floor(smallint_col - smallint_col) from super', - 'select floor(smallint_col - smallint_col) from t1', - 'select floor(tinyint_col - tinyint_col) from super', - 'select floor(tinyint_col - tinyint_col) from t1', - 'select floor(uint_col - uint_col) from super', - 'select floor(uint_col - uint_col) from t1', - 'select floor(ubigint_col - ubigint_col) from super', - 'select floor(ubigint_col - ubigint_col) from t1', - 'select floor(usmallint_col - usmallint_col) from super', - 'select floor(usmallint_col - usmallint_col) from t1', - 'select floor(utinyint_col - utinyint_col) from super', - 'select floor(utinyint_col - utinyint_col) from t1', - 'select floor(int_col * int_col) from super', - 'select floor(int_col * int_col) from t1', - 'select floor(bigint_col * bigint_col) from super', - 'select floor(bigint_col * bigint_col) from t1', - 'select floor(float_col * float_col) from super', - 'select floor(float_col * float_col) from t1', - 'select floor(double_col * double_col) from super', - 'select floor(double_col * double_col) from t1', - 'select floor(smallint_col * smallint_col) from super', - 'select floor(smallint_col * smallint_col) from t1', - 'select floor(tinyint_col * tinyint_col) from super', - 'select floor(tinyint_col * tinyint_col) from t1', - 'select floor(uint_col * uint_col) from super', - 'select floor(uint_col * uint_col) from t1', - 'select floor(ubigint_col * ubigint_col) from super', - 'select floor(ubigint_col * ubigint_col) from t1', - 'select floor(usmallint_col * usmallint_col) from super', - 'select floor(usmallint_col * usmallint_col) from t1', - 'select floor(utinyint_col * utinyint_col) from super', - 'select floor(utinyint_col * utinyint_col) from t1', - 'select floor(int_col / int_col) from super', - 'select floor(int_col / int_col) from t1', - 'select floor(bigint_col / bigint_col) from super', - 'select floor(bigint_col / bigint_col) from t1', - 'select floor(float_col / float_col) from super', - 'select floor(float_col / float_col) from t1', - 'select floor(double_col / double_col) from super', - 'select floor(double_col / double_col) from t1', - 'select floor(smallint_col / smallint_col) from super', - 'select floor(smallint_col / smallint_col) from t1', - 'select floor(tinyint_col / tinyint_col) from super', - 'select floor(tinyint_col / tinyint_col) from t1', - 'select floor(uint_col / uint_col) from super', - 'select floor(uint_col / uint_col) from t1', - 'select floor(ubigint_col / ubigint_col) from super', - 'select floor(ubigint_col / ubigint_col) from t1', - 'select floor(usmallint_col / usmallint_col) from super', - 'select floor(usmallint_col / usmallint_col) from t1', - 'select floor(utinyint_col / utinyint_col) from super', - 'select floor(utinyint_col / utinyint_col) from t1', - 'select int_col, floor(int_col), int_col from super', - 'select int_col, floor(int_col), int_col from t1', - 'select bigint_col, floor(bigint_col), bigint_col from super', - 'select bigint_col, floor(bigint_col), bigint_col from t1', - 'select float_col, floor(float_col), float_col from super', - 'select float_col, floor(float_col), float_col from t1', - 'select double_col, floor(double_col), double_col from super', - 'select double_col, floor(double_col), double_col from t1', - 'select smallint_col, floor(smallint_col), smallint_col from super', - 'select smallint_col, floor(smallint_col), smallint_col from t1', - 'select tinyint_col, floor(tinyint_col), tinyint_col from super', - 'select tinyint_col, floor(tinyint_col), tinyint_col from t1', - 'select uint_col, floor(uint_col), uint_col from super', - 'select uint_col, floor(uint_col), uint_col from t1', - 'select ubigint_col, floor(ubigint_col), ubigint_col from super', - 'select ubigint_col, floor(ubigint_col), ubigint_col from t1', - 'select usmallint_col, floor(usmallint_col), usmallint_col from super', - 'select usmallint_col, floor(usmallint_col), usmallint_col from t1', - 'select utinyint_col, floor(utinyint_col), utinyint_col from super', - 'select utinyint_col, floor(utinyint_col), utinyint_col from t1', - 'select 1, floor(int_col), 1 from super', - 'select 1, floor(int_col), 1 from t1', - 'select 1, floor(bigint_col), 1 from super', - 'select 1, floor(bigint_col), 1 from t1', - 'select 1, floor(float_col), 1 from super', - 'select 1, floor(float_col), 1 from t1', - 'select 1, floor(double_col), 1 from super', - 'select 1, floor(double_col), 1 from t1', - 'select 1, floor(smallint_col), 1 from super', - 'select 1, floor(smallint_col), 1 from t1', - 'select 1, floor(tinyint_col), 1 from super', - 'select 1, floor(tinyint_col), 1 from t1', - 'select 1, floor(uint_col), 1 from super', - 'select 1, floor(uint_col), 1 from t1', - 'select 1, floor(ubigint_col), 1 from super', - 'select 1, floor(ubigint_col), 1 from t1', - 'select 1, floor(usmallint_col), 1 from super', - 'select 1, floor(usmallint_col), 1 from t1', - 'select 1, floor(utinyint_col), 1 from super', - 'select 1, floor(utinyint_col), 1 from t1', - 'select floor(int_col) as anyName from super', - 'select floor(int_col) as anyName from t1', - 'select floor(bigint_col) as anyName from super', - 'select floor(bigint_col) as anyName from t1', - 'select floor(float_col) as anyName from super', - 'select floor(float_col) as anyName from t1', - 'select floor(double_col) as anyName from super', - 'select floor(double_col) as anyName from t1', - 'select floor(smallint_col) as anyName from super', - 'select floor(smallint_col) as anyName from t1', - 'select floor(tinyint_col) as anyName from super', - 'select floor(tinyint_col) as anyName from t1', - 'select floor(uint_col) as anyName from super', - 'select floor(uint_col) as anyName from t1', - 'select floor(ubigint_col) as anyName from super', - 'select floor(ubigint_col) as anyName from t1', - 'select floor(usmallint_col) as anyName from super', - 'select floor(usmallint_col) as anyName from t1', - 'select floor(utinyint_col) as anyName from super', - 'select floor(utinyint_col) as anyName from t1'] + 'select floor(int_col) from t1', + 'select floor(bigint_col) from super', + 'select floor(bigint_col) from t1', + 'select floor(float_col) from super', + 'select floor(float_col) from t1', + 'select floor(double_col) from super', + 'select floor(double_col) from t1', + 'select floor(smallint_col) from super', + 'select floor(smallint_col) from t1', + 'select floor(tinyint_col) from super', + 'select floor(tinyint_col) from t1', + 'select floor(uint_col) from super', + 'select floor(uint_col) from t1', + 'select floor(ubigint_col) from super', + 'select floor(ubigint_col) from t1', + 'select floor(usmallint_col) from super', + 'select floor(usmallint_col) from t1', + 'select floor(utinyint_col) from super', + 'select floor(utinyint_col) from t1', + 'select floor(int_col) - floor(int_col) from super', + 'select floor(int_col) - floor(int_col) from t1', + 'select floor(bigint_col) - floor(bigint_col) from super', + 'select floor(bigint_col) - floor(bigint_col) from t1', + 'select floor(float_col) - floor(float_col) from super', + 'select floor(float_col) - floor(float_col) from t1', + 'select floor(double_col) - floor(double_col) from super', + 'select floor(double_col) - floor(double_col) from t1', + 'select floor(smallint_col) - floor(smallint_col) from super', + 'select floor(smallint_col) - floor(smallint_col) from t1', + 'select floor(tinyint_col) - floor(tinyint_col) from super', + 'select floor(tinyint_col) - floor(tinyint_col) from t1', + 'select floor(uint_col) - floor(uint_col) from super', + 'select floor(uint_col) - floor(uint_col) from t1', + 'select floor(ubigint_col) - floor(ubigint_col) from super', + 'select floor(ubigint_col) - floor(ubigint_col) from t1', + 'select floor(usmallint_col) - floor(usmallint_col) from super', + 'select floor(usmallint_col) - floor(usmallint_col) from t1', + 'select floor(utinyint_col) - floor(utinyint_col) from super', + 'select floor(utinyint_col) - floor(utinyint_col) from t1', + 'select floor(int_col) / floor(int_col) from super', + 'select floor(int_col) / floor(int_col) from t1', + 'select floor(bigint_col) / floor(bigint_col) from super', + 'select floor(bigint_col) / floor(bigint_col) from t1', + 'select floor(float_col) / floor(float_col) from super', + 'select floor(float_col) / floor(float_col) from t1', + 'select floor(double_col) / floor(double_col) from super', + 'select floor(double_col) / floor(double_col) from t1', + 'select floor(smallint_col) / floor(smallint_col) from super', + 'select floor(smallint_col) / floor(smallint_col) from t1', + 'select floor(tinyint_col) / floor(tinyint_col) from super', + 'select floor(tinyint_col) / floor(tinyint_col) from t1', + 'select floor(uint_col) / floor(uint_col) from super', + 'select floor(uint_col) / floor(uint_col) from t1', + 'select floor(ubigint_col) / floor(ubigint_col) from super', + 'select floor(ubigint_col) / floor(ubigint_col) from t1', + 'select floor(usmallint_col) / floor(usmallint_col) from super', + 'select floor(usmallint_col) / floor(usmallint_col) from t1', + 'select floor(utinyint_col) / floor(utinyint_col) from super', + 'select floor(utinyint_col) / floor(utinyint_col) from t1', + 'select floor(int_col) * floor(int_col) from super', + 'select floor(int_col) * floor(int_col) from t1', + 'select floor(bigint_col) * floor(bigint_col) from super', + 'select floor(bigint_col) * floor(bigint_col) from t1', + 'select floor(float_col) * floor(float_col) from super', + 'select floor(float_col) * floor(float_col) from t1', + 'select floor(double_col) * floor(double_col) from super', + 'select floor(double_col) * floor(double_col) from t1', + 'select floor(smallint_col) * floor(smallint_col) from super', + 'select floor(smallint_col) * floor(smallint_col) from t1', + 'select floor(tinyint_col) * floor(tinyint_col) from super', + 'select floor(tinyint_col) * floor(tinyint_col) from t1', + 'select floor(uint_col) * floor(uint_col) from super', + 'select floor(uint_col) * floor(uint_col) from t1', + 'select floor(ubigint_col) * floor(ubigint_col) from super', + 'select floor(ubigint_col) * floor(ubigint_col) from t1', + 'select floor(usmallint_col) * floor(usmallint_col) from super', + 'select floor(usmallint_col) * floor(usmallint_col) from t1', + 'select floor(utinyint_col) * floor(utinyint_col) from super', + 'select floor(utinyint_col) * floor(utinyint_col) from t1', + 'select floor(count(ts)) from super', + 'select floor(count(ts)) from t1', + 'select floor(count(timestamp_col)) from super', + 'select floor(count(timestamp_col)) from t1', + 'select floor(count(int_col)) from super', + 'select floor(count(int_col)) from t1', + 'select floor(count(bigint_col)) from super', + 'select floor(count(bigint_col)) from t1', + 'select floor(count(float_col)) from super', + 'select floor(count(float_col)) from t1', + 'select floor(count(double_col)) from super', + 'select floor(count(double_col)) from t1', + 'select floor(count(binary_col)) from super', + 'select floor(count(binary_col)) from t1', + 'select floor(count(smallint_col)) from super', + 'select floor(count(smallint_col)) from t1', + 'select floor(count(tinyint_col)) from super', + 'select floor(count(tinyint_col)) from t1', + 'select floor(count(bool_col)) from super', + 'select floor(count(bool_col)) from t1', + 'select floor(count(nchar_col)) from super', + 'select floor(count(nchar_col)) from t1', + 'select floor(count(uint_col)) from super', + 'select floor(count(uint_col)) from t1', + 'select floor(count(ubigint_col)) from super', + 'select floor(count(ubigint_col)) from t1', + 'select floor(count(usmallint_col)) from super', + 'select floor(count(usmallint_col)) from t1', + 'select floor(count(utinyint_col)) from super', + 'select floor(count(utinyint_col)) from t1', + 'select floor(count(timestamp_tag)) from super', + 'select floor(count(timestamp_tag)) from t1', + 'select floor(count(int_tag)) from super', + 'select floor(count(int_tag)) from t1', + 'select floor(count(bigint_tag)) from super', + 'select floor(count(bigint_tag)) from t1', + 'select floor(count(float_tag)) from super', + 'select floor(count(float_tag)) from t1', + 'select floor(count(double_tag)) from super', + 'select floor(count(double_tag)) from t1', + 'select floor(count(binary_tag)) from super', + 'select floor(count(binary_tag)) from t1', + 'select floor(count(smallint_tag)) from super', + 'select floor(count(smallint_tag)) from t1', + 'select floor(count(tinyint_tag)) from super', + 'select floor(count(tinyint_tag)) from t1', + 'select floor(count(bool_tag)) from super', + 'select floor(count(bool_tag)) from t1', + 'select floor(count(nchar_tag)) from super', + 'select floor(count(nchar_tag)) from t1', + 'select floor(count(uint_tag)) from super', + 'select floor(count(uint_tag)) from t1', + 'select floor(count(ubigint_tag)) from super', + 'select floor(count(ubigint_tag)) from t1', + 'select floor(count(usmallint_tag)) from super', + 'select floor(count(usmallint_tag)) from t1', + 'select floor(count(utinyint_tag)) from super', + 'select floor(count(utinyint_tag)) from t1', + 'select floor(avg(int_col)) from super', + 'select floor(avg(int_col)) from t1', + 'select floor(avg(bigint_col)) from super', + 'select floor(avg(bigint_col)) from t1', + 'select floor(avg(float_col)) from super', + 'select floor(avg(float_col)) from t1', + 'select floor(avg(double_col)) from super', + 'select floor(avg(double_col)) from t1', + 'select floor(avg(smallint_col)) from super', + 'select floor(avg(smallint_col)) from t1', + 'select floor(avg(tinyint_col)) from super', + 'select floor(avg(tinyint_col)) from t1', + 'select floor(avg(uint_col)) from super', + 'select floor(avg(uint_col)) from t1', + 'select floor(avg(ubigint_col)) from super', + 'select floor(avg(ubigint_col)) from t1', + 'select floor(avg(usmallint_col)) from super', + 'select floor(avg(usmallint_col)) from t1', + 'select floor(avg(utinyint_col)) from super', + 'select floor(avg(utinyint_col)) from t1', + 'select floor(twa(int_col)) from t1', + 'select floor(twa(bigint_col)) from t1', + 'select floor(twa(float_col)) from t1', + 'select floor(twa(double_col)) from t1', + 'select floor(twa(smallint_col)) from t1', + 'select floor(twa(tinyint_col)) from t1', + 'select floor(twa(uint_col)) from t1', + 'select floor(twa(ubigint_col)) from t1', + 'select floor(twa(usmallint_col)) from t1', + 'select floor(twa(utinyint_col)) from t1', + 'select floor(sum(int_col)) from super', + 'select floor(sum(int_col)) from t1', + 'select floor(sum(bigint_col)) from super', + 'select floor(sum(bigint_col)) from t1', + 'select floor(sum(float_col)) from super', + 'select floor(sum(float_col)) from t1', + 'select floor(sum(double_col)) from super', + 'select floor(sum(double_col)) from t1', + 'select floor(sum(smallint_col)) from super', + 'select floor(sum(smallint_col)) from t1', + 'select floor(sum(tinyint_col)) from super', + 'select floor(sum(tinyint_col)) from t1', + 'select floor(sum(uint_col)) from super', + 'select floor(sum(uint_col)) from t1', + 'select floor(sum(ubigint_col)) from super', + 'select floor(sum(ubigint_col)) from t1', + 'select floor(sum(usmallint_col)) from super', + 'select floor(sum(usmallint_col)) from t1', + 'select floor(sum(utinyint_col)) from super', + 'select floor(sum(utinyint_col)) from t1', + 'select floor(stddev(int_col)) from super', + 'select floor(stddev(int_col)) from t1', + 'select floor(stddev(bigint_col)) from super', + 'select floor(stddev(bigint_col)) from t1', + 'select floor(stddev(float_col)) from super', + 'select floor(stddev(float_col)) from t1', + 'select floor(stddev(double_col)) from super', + 'select floor(stddev(double_col)) from t1', + 'select floor(stddev(smallint_col)) from super', + 'select floor(stddev(smallint_col)) from t1', + 'select floor(stddev(tinyint_col)) from super', + 'select floor(stddev(tinyint_col)) from t1', + 'select floor(stddev(uint_col)) from super', + 'select floor(stddev(uint_col)) from t1', + 'select floor(stddev(ubigint_col)) from super', + 'select floor(stddev(ubigint_col)) from t1', + 'select floor(stddev(usmallint_col)) from super', + 'select floor(stddev(usmallint_col)) from t1', + 'select floor(stddev(utinyint_col)) from super', + 'select floor(stddev(utinyint_col)) from t1', + 'select floor(irate(int_col)) from t1', + 'select floor(irate(bigint_col)) from t1', + 'select floor(irate(float_col)) from t1', + 'select floor(irate(double_col)) from t1', + 'select floor(irate(smallint_col)) from t1', + 'select floor(irate(tinyint_col)) from t1', + 'select floor(irate(uint_col)) from t1', + 'select floor(irate(ubigint_col)) from t1', + 'select floor(irate(usmallint_col)) from t1', + 'select floor(irate(utinyint_col)) from t1', + 'select floor(min(int_col)) from super', + 'select floor(min(int_col)) from t1', + 'select floor(min(bigint_col)) from super', + 'select floor(min(bigint_col)) from t1', + 'select floor(min(float_col)) from super', + 'select floor(min(float_col)) from t1', + 'select floor(min(double_col)) from super', + 'select floor(min(double_col)) from t1', + 'select floor(min(smallint_col)) from super', + 'select floor(min(smallint_col)) from t1', + 'select floor(min(tinyint_col)) from super', + 'select floor(min(tinyint_col)) from t1', + 'select floor(min(uint_col)) from super', + 'select floor(min(uint_col)) from t1', + 'select floor(min(ubigint_col)) from super', + 'select floor(min(ubigint_col)) from t1', + 'select floor(min(usmallint_col)) from super', + 'select floor(min(usmallint_col)) from t1', + 'select floor(min(utinyint_col)) from super', + 'select floor(min(utinyint_col)) from t1', + 'select floor(max(int_col)) from super', + 'select floor(max(int_col)) from t1', + 'select floor(max(bigint_col)) from super', + 'select floor(max(bigint_col)) from t1', + 'select floor(max(float_col)) from super', + 'select floor(max(float_col)) from t1', + 'select floor(max(double_col)) from super', + 'select floor(max(double_col)) from t1', + 'select floor(max(smallint_col)) from super', + 'select floor(max(smallint_col)) from t1', + 'select floor(max(tinyint_col)) from super', + 'select floor(max(tinyint_col)) from t1', + 'select floor(max(uint_col)) from super', + 'select floor(max(uint_col)) from t1', + 'select floor(max(ubigint_col)) from super', + 'select floor(max(ubigint_col)) from t1', + 'select floor(max(usmallint_col)) from super', + 'select floor(max(usmallint_col)) from t1', + 'select floor(max(utinyint_col)) from super', + 'select floor(max(utinyint_col)) from t1', + 'select floor(first(int_col)) from super', + 'select floor(first(int_col)) from t1', + 'select floor(first(bigint_col)) from super', + 'select floor(first(bigint_col)) from t1', + 'select floor(first(float_col)) from super', + 'select floor(first(float_col)) from t1', + 'select floor(first(double_col)) from super', + 'select floor(first(double_col)) from t1', + 'select floor(first(smallint_col)) from super', + 'select floor(first(smallint_col)) from t1', + 'select floor(first(tinyint_col)) from super', + 'select floor(first(tinyint_col)) from t1', + 'select floor(first(uint_col)) from super', + 'select floor(first(uint_col)) from t1', + 'select floor(first(ubigint_col)) from super', + 'select floor(first(ubigint_col)) from t1', + 'select floor(first(usmallint_col)) from super', + 'select floor(first(usmallint_col)) from t1', + 'select floor(first(utinyint_col)) from super', + 'select floor(first(utinyint_col)) from t1', + 'select floor(last(int_col)) from super', + 'select floor(last(int_col)) from t1', + 'select floor(last(bigint_col)) from super', + 'select floor(last(bigint_col)) from t1', + 'select floor(last(float_col)) from super', + 'select floor(last(float_col)) from t1', + 'select floor(last(double_col)) from super', + 'select floor(last(double_col)) from t1', + 'select floor(last(smallint_col)) from super', + 'select floor(last(smallint_col)) from t1', + 'select floor(last(tinyint_col)) from super', + 'select floor(last(tinyint_col)) from t1', + 'select floor(last(uint_col)) from super', + 'select floor(last(uint_col)) from t1', + 'select floor(last(ubigint_col)) from super', + 'select floor(last(ubigint_col)) from t1', + 'select floor(last(usmallint_col)) from super', + 'select floor(last(usmallint_col)) from t1', + 'select floor(last(utinyint_col)) from super', + 'select floor(last(utinyint_col)) from t1', + 'select floor(percentile(int_col, 1)) from t1', + 'select floor(percentile(bigint_col, 1)) from t1', + 'select floor(percentile(float_col, 1)) from t1', + 'select floor(percentile(double_col, 1)) from t1', + 'select floor(percentile(smallint_col, 1)) from t1', + 'select floor(percentile(tinyint_col, 1)) from t1', + 'select floor(percentile(uint_col, 1)) from t1', + 'select floor(percentile(ubigint_col, 1)) from t1', + 'select floor(percentile(usmallint_col, 1)) from t1', + 'select floor(percentile(utinyint_col, 1)) from t1', + 'select floor(apercentile(int_col, 1)) from super', + 'select floor(apercentile(int_col, 1)) from t1', + 'select floor(apercentile(bigint_col, 1)) from super', + 'select floor(apercentile(bigint_col, 1)) from t1', + 'select floor(apercentile(float_col, 1)) from super', + 'select floor(apercentile(float_col, 1)) from t1', + 'select floor(apercentile(double_col, 1)) from super', + 'select floor(apercentile(double_col, 1)) from t1', + 'select floor(apercentile(smallint_col, 1)) from super', + 'select floor(apercentile(smallint_col, 1)) from t1', + 'select floor(apercentile(tinyint_col, 1)) from super', + 'select floor(apercentile(tinyint_col, 1)) from t1', + 'select floor(apercentile(uint_col, 1)) from super', + 'select floor(apercentile(uint_col, 1)) from t1', + 'select floor(apercentile(ubigint_col, 1)) from super', + 'select floor(apercentile(ubigint_col, 1)) from t1', + 'select floor(apercentile(usmallint_col, 1)) from super', + 'select floor(apercentile(usmallint_col, 1)) from t1', + 'select floor(apercentile(utinyint_col, 1)) from super', + 'select floor(apercentile(utinyint_col, 1)) from t1', + 'select floor(last_row(int_col)) from super', + 'select floor(last_row(int_col)) from t1', + 'select floor(last_row(bigint_col)) from super', + 'select floor(last_row(bigint_col)) from t1', + 'select floor(last_row(float_col)) from super', + 'select floor(last_row(float_col)) from t1', + 'select floor(last_row(double_col)) from super', + 'select floor(last_row(double_col)) from t1', + 'select floor(last_row(smallint_col)) from super', + 'select floor(last_row(smallint_col)) from t1', + 'select floor(last_row(tinyint_col)) from super', + 'select floor(last_row(tinyint_col)) from t1', + 'select floor(last_row(uint_col)) from super', + 'select floor(last_row(uint_col)) from t1', + 'select floor(last_row(ubigint_col)) from super', + 'select floor(last_row(ubigint_col)) from t1', + 'select floor(last_row(usmallint_col)) from super', + 'select floor(last_row(usmallint_col)) from t1', + 'select floor(last_row(utinyint_col)) from super', + 'select floor(last_row(utinyint_col)) from t1', + 'select floor(interp(int_col)) from t1', + 'select floor(interp(bigint_col)) from t1', + 'select floor(interp(float_col)) from t1', + 'select floor(interp(double_col)) from t1', + 'select floor(interp(smallint_col)) from t1', + 'select floor(interp(tinyint_col)) from t1', + 'select floor(interp(uint_col)) from t1', + 'select floor(interp(ubigint_col)) from t1', + 'select floor(interp(usmallint_col)) from t1', + 'select floor(interp(utinyint_col)) from t1', + 'select floor(spread(ts)) from super', + 'select floor(spread(ts)) from t1', + 'select floor(spread(timestamp_col)) from super', + 'select floor(spread(timestamp_col)) from t1', + 'select floor(spread(int_col)) from super', + 'select floor(spread(int_col)) from t1', + 'select floor(spread(bigint_col)) from super', + 'select floor(spread(bigint_col)) from t1', + 'select floor(spread(float_col)) from super', + 'select floor(spread(float_col)) from t1', + 'select floor(spread(double_col)) from super', + 'select floor(spread(double_col)) from t1', + 'select floor(spread(smallint_col)) from super', + 'select floor(spread(smallint_col)) from t1', + 'select floor(spread(tinyint_col)) from super', + 'select floor(spread(tinyint_col)) from t1', + 'select floor(spread(uint_col)) from super', + 'select floor(spread(uint_col)) from t1', + 'select floor(spread(ubigint_col)) from super', + 'select floor(spread(ubigint_col)) from t1', + 'select floor(spread(usmallint_col)) from super', + 'select floor(spread(usmallint_col)) from t1', + 'select floor(spread(utinyint_col)) from super', + 'select floor(spread(utinyint_col)) from t1', + 'select floor(int_col + int_col) from super', + 'select floor(int_col + int_col) from t1', + 'select floor(bigint_col + bigint_col) from super', + 'select floor(bigint_col + bigint_col) from t1', + 'select floor(float_col + float_col) from super', + 'select floor(float_col + float_col) from t1', + 'select floor(double_col + double_col) from super', + 'select floor(double_col + double_col) from t1', + 'select floor(smallint_col + smallint_col) from super', + 'select floor(smallint_col + smallint_col) from t1', + 'select floor(tinyint_col + tinyint_col) from super', + 'select floor(tinyint_col + tinyint_col) from t1', + 'select floor(uint_col + uint_col) from super', + 'select floor(uint_col + uint_col) from t1', + 'select floor(ubigint_col + ubigint_col) from super', + 'select floor(ubigint_col + ubigint_col) from t1', + 'select floor(usmallint_col + usmallint_col) from super', + 'select floor(usmallint_col + usmallint_col) from t1', + 'select floor(utinyint_col + utinyint_col) from super', + 'select floor(utinyint_col + utinyint_col) from t1', + 'select floor(int_col - int_col) from super', + 'select floor(int_col - int_col) from t1', + 'select floor(bigint_col - bigint_col) from super', + 'select floor(bigint_col - bigint_col) from t1', + 'select floor(float_col - float_col) from super', + 'select floor(float_col - float_col) from t1', + 'select floor(double_col - double_col) from super', + 'select floor(double_col - double_col) from t1', + 'select floor(smallint_col - smallint_col) from super', + 'select floor(smallint_col - smallint_col) from t1', + 'select floor(tinyint_col - tinyint_col) from super', + 'select floor(tinyint_col - tinyint_col) from t1', + 'select floor(uint_col - uint_col) from super', + 'select floor(uint_col - uint_col) from t1', + 'select floor(ubigint_col - ubigint_col) from super', + 'select floor(ubigint_col - ubigint_col) from t1', + 'select floor(usmallint_col - usmallint_col) from super', + 'select floor(usmallint_col - usmallint_col) from t1', + 'select floor(utinyint_col - utinyint_col) from super', + 'select floor(utinyint_col - utinyint_col) from t1', + 'select floor(int_col * int_col) from super', + 'select floor(int_col * int_col) from t1', + 'select floor(bigint_col * bigint_col) from super', + 'select floor(bigint_col * bigint_col) from t1', + 'select floor(float_col * float_col) from super', + 'select floor(float_col * float_col) from t1', + 'select floor(double_col * double_col) from super', + 'select floor(double_col * double_col) from t1', + 'select floor(smallint_col * smallint_col) from super', + 'select floor(smallint_col * smallint_col) from t1', + 'select floor(tinyint_col * tinyint_col) from super', + 'select floor(tinyint_col * tinyint_col) from t1', + 'select floor(uint_col * uint_col) from super', + 'select floor(uint_col * uint_col) from t1', + 'select floor(ubigint_col * ubigint_col) from super', + 'select floor(ubigint_col * ubigint_col) from t1', + 'select floor(usmallint_col * usmallint_col) from super', + 'select floor(usmallint_col * usmallint_col) from t1', + 'select floor(utinyint_col * utinyint_col) from super', + 'select floor(utinyint_col * utinyint_col) from t1', + 'select floor(int_col / int_col) from super', + 'select floor(int_col / int_col) from t1', + 'select floor(bigint_col / bigint_col) from super', + 'select floor(bigint_col / bigint_col) from t1', + 'select floor(float_col / float_col) from super', + 'select floor(float_col / float_col) from t1', + 'select floor(double_col / double_col) from super', + 'select floor(double_col / double_col) from t1', + 'select floor(smallint_col / smallint_col) from super', + 'select floor(smallint_col / smallint_col) from t1', + 'select floor(tinyint_col / tinyint_col) from super', + 'select floor(tinyint_col / tinyint_col) from t1', + 'select floor(uint_col / uint_col) from super', + 'select floor(uint_col / uint_col) from t1', + 'select floor(ubigint_col / ubigint_col) from super', + 'select floor(ubigint_col / ubigint_col) from t1', + 'select floor(usmallint_col / usmallint_col) from super', + 'select floor(usmallint_col / usmallint_col) from t1', + 'select floor(utinyint_col / utinyint_col) from super', + 'select floor(utinyint_col / utinyint_col) from t1', + 'select int_col, floor(int_col), int_col from super', + 'select int_col, floor(int_col), int_col from t1', + 'select bigint_col, floor(bigint_col), bigint_col from super', + 'select bigint_col, floor(bigint_col), bigint_col from t1', + 'select float_col, floor(float_col), float_col from super', + 'select float_col, floor(float_col), float_col from t1', + 'select double_col, floor(double_col), double_col from super', + 'select double_col, floor(double_col), double_col from t1', + 'select smallint_col, floor(smallint_col), smallint_col from super', + 'select smallint_col, floor(smallint_col), smallint_col from t1', + 'select tinyint_col, floor(tinyint_col), tinyint_col from super', + 'select tinyint_col, floor(tinyint_col), tinyint_col from t1', + 'select uint_col, floor(uint_col), uint_col from super', + 'select uint_col, floor(uint_col), uint_col from t1', + 'select ubigint_col, floor(ubigint_col), ubigint_col from super', + 'select ubigint_col, floor(ubigint_col), ubigint_col from t1', + 'select usmallint_col, floor(usmallint_col), usmallint_col from super', + 'select usmallint_col, floor(usmallint_col), usmallint_col from t1', + 'select utinyint_col, floor(utinyint_col), utinyint_col from super', + 'select utinyint_col, floor(utinyint_col), utinyint_col from t1', + 'select 1, floor(int_col), 1 from super', + 'select 1, floor(int_col), 1 from t1', + 'select 1, floor(bigint_col), 1 from super', + 'select 1, floor(bigint_col), 1 from t1', + 'select 1, floor(float_col), 1 from super', + 'select 1, floor(float_col), 1 from t1', + 'select 1, floor(double_col), 1 from super', + 'select 1, floor(double_col), 1 from t1', + 'select 1, floor(smallint_col), 1 from super', + 'select 1, floor(smallint_col), 1 from t1', + 'select 1, floor(tinyint_col), 1 from super', + 'select 1, floor(tinyint_col), 1 from t1', + 'select 1, floor(uint_col), 1 from super', + 'select 1, floor(uint_col), 1 from t1', + 'select 1, floor(ubigint_col), 1 from super', + 'select 1, floor(ubigint_col), 1 from t1', + 'select 1, floor(usmallint_col), 1 from super', + 'select 1, floor(usmallint_col), 1 from t1', + 'select 1, floor(utinyint_col), 1 from super', + 'select 1, floor(utinyint_col), 1 from t1', + 'select floor(int_col) as anyName from super', + 'select floor(int_col) as anyName from t1', + 'select floor(bigint_col) as anyName from super', + 'select floor(bigint_col) as anyName from t1', + 'select floor(float_col) as anyName from super', + 'select floor(float_col) as anyName from t1', + 'select floor(double_col) as anyName from super', + 'select floor(double_col) as anyName from t1', + 'select floor(smallint_col) as anyName from super', + 'select floor(smallint_col) as anyName from t1', + 'select floor(tinyint_col) as anyName from super', + 'select floor(tinyint_col) as anyName from t1', + 'select floor(uint_col) as anyName from super', + 'select floor(uint_col) as anyName from t1', + 'select floor(ubigint_col) as anyName from super', + 'select floor(ubigint_col) as anyName from t1', + 'select floor(usmallint_col) as anyName from super', + 'select floor(usmallint_col) as anyName from t1', + 'select floor(utinyint_col) as anyName from super', + 'select floor(utinyint_col) as anyName from t1' + ] + shouldPass2 = ['select floor(super.int_col) from super', 'select floor(super.int_col) from super, superb where super.ts = superb.ts and super.int_tag = superb.int_tag', diff --git a/tests/pytest/functions/function_round.py b/tests/pytest/functions/function_round.py index 90a9cc6cb5..8785821452 100644 --- a/tests/pytest/functions/function_round.py +++ b/tests/pytest/functions/function_round.py @@ -1373,517 +1373,528 @@ class TDTestCase: self.randomUTinyint())) shouldPass = ['select round(int_col) from super', - 'select round(int_col) from t1', - 'select round(bigint_col) from super', - 'select round(bigint_col) from t1', - 'select round(float_col) from super', - 'select round(float_col) from t1', - 'select round(double_col) from super', - 'select round(double_col) from t1', - 'select round(smallint_col) from super', - 'select round(smallint_col) from t1', - 'select round(tinyint_col) from super', - 'select round(tinyint_col) from t1', - 'select round(uint_col) from super', - 'select round(uint_col) from t1', - 'select round(ubigint_col) from super', - 'select round(ubigint_col) from t1', - 'select round(usmallint_col) from super', - 'select round(usmallint_col) from t1', - 'select round(utinyint_col) from super', - 'select round(utinyint_col) from t1', - 'select round(int_col) - round(int_col) from super', - 'select round(int_col) - round(int_col) from t1', - 'select round(bigint_col) - round(bigint_col) from super', - 'select round(bigint_col) - round(bigint_col) from t1', - 'select round(float_col) - round(float_col) from super', - 'select round(float_col) - round(float_col) from t1', - 'select round(double_col) - round(double_col) from super', - 'select round(double_col) - round(double_col) from t1', - 'select round(smallint_col) - round(smallint_col) from super', - 'select round(smallint_col) - round(smallint_col) from t1', - 'select round(tinyint_col) - round(tinyint_col) from super', - 'select round(tinyint_col) - round(tinyint_col) from t1', - 'select round(uint_col) - round(uint_col) from super', - 'select round(uint_col) - round(uint_col) from t1', - 'select round(ubigint_col) - round(ubigint_col) from super', - 'select round(ubigint_col) - round(ubigint_col) from t1', - 'select round(usmallint_col) - round(usmallint_col) from super', - 'select round(usmallint_col) - round(usmallint_col) from t1', - 'select round(utinyint_col) - round(utinyint_col) from super', - 'select round(utinyint_col) - round(utinyint_col) from t1', - 'select round(int_col) / round(int_col) from super', - 'select round(int_col) / round(int_col) from t1', - 'select round(bigint_col) / round(bigint_col) from super', - 'select round(bigint_col) / round(bigint_col) from t1', - 'select round(float_col) / round(float_col) from super', - 'select round(float_col) / round(float_col) from t1', - 'select round(double_col) / round(double_col) from super', - 'select round(double_col) / round(double_col) from t1', - 'select round(smallint_col) / round(smallint_col) from super', - 'select round(smallint_col) / round(smallint_col) from t1', - 'select round(tinyint_col) / round(tinyint_col) from super', - 'select round(tinyint_col) / round(tinyint_col) from t1', - 'select round(uint_col) / round(uint_col) from super', - 'select round(uint_col) / round(uint_col) from t1', - 'select round(ubigint_col) / round(ubigint_col) from super', - 'select round(ubigint_col) / round(ubigint_col) from t1', - 'select round(usmallint_col) / round(usmallint_col) from super', - 'select round(usmallint_col) / round(usmallint_col) from t1', - 'select round(utinyint_col) / round(utinyint_col) from super', - 'select round(utinyint_col) / round(utinyint_col) from t1', - 'select round(int_col) * round(int_col) from super', - 'select round(int_col) * round(int_col) from t1', - 'select round(bigint_col) * round(bigint_col) from super', - 'select round(bigint_col) * round(bigint_col) from t1', - 'select round(float_col) * round(float_col) from super', - 'select round(float_col) * round(float_col) from t1', - 'select round(double_col) * round(double_col) from super', - 'select round(double_col) * round(double_col) from t1', - 'select round(smallint_col) * round(smallint_col) from super', - 'select round(smallint_col) * round(smallint_col) from t1', - 'select round(tinyint_col) * round(tinyint_col) from super', - 'select round(tinyint_col) * round(tinyint_col) from t1', - 'select round(uint_col) * round(uint_col) from super', - 'select round(uint_col) * round(uint_col) from t1', - 'select round(ubigint_col) * round(ubigint_col) from super', - 'select round(ubigint_col) * round(ubigint_col) from t1', - 'select round(usmallint_col) * round(usmallint_col) from super', - 'select round(usmallint_col) * round(usmallint_col) from t1', - 'select round(utinyint_col) * round(utinyint_col) from super', - 'select round(utinyint_col) * round(utinyint_col) from t1', - 'select round(count(ts)) from super', - 'select round(count(ts)) from t1', - 'select round(count(timestamp_col)) from super', - 'select round(count(timestamp_col)) from t1', - 'select round(count(int_col)) from super', - 'select round(count(int_col)) from t1', - 'select round(count(bigint_col)) from super', - 'select round(count(bigint_col)) from t1', - 'select round(count(float_col)) from super', - 'select round(count(float_col)) from t1', - 'select round(count(double_col)) from super', - 'select round(count(double_col)) from t1', - 'select round(count(binary_col)) from super', - 'select round(count(binary_col)) from t1', - 'select round(count(smallint_col)) from super', - 'select round(count(smallint_col)) from t1', - 'select round(count(tinyint_col)) from super', - 'select round(count(tinyint_col)) from t1', - 'select round(count(bool_col)) from super', - 'select round(count(bool_col)) from t1', - 'select round(count(nchar_col)) from super', - 'select round(count(nchar_col)) from t1', - 'select round(count(uint_col)) from super', - 'select round(count(uint_col)) from t1', - 'select round(count(ubigint_col)) from super', - 'select round(count(ubigint_col)) from t1', - 'select round(count(usmallint_col)) from super', - 'select round(count(usmallint_col)) from t1', - 'select round(count(utinyint_col)) from super', - 'select round(count(utinyint_col)) from t1', - 'select round(count(timestamp_tag)) from super', - 'select round(count(timestamp_tag)) from t1', - 'select round(count(int_tag)) from super', - 'select round(count(int_tag)) from t1', - 'select round(count(bigint_tag)) from super', - 'select round(count(bigint_tag)) from t1', - 'select round(count(float_tag)) from super', - 'select round(count(float_tag)) from t1', - 'select round(count(double_tag)) from super', - 'select round(count(double_tag)) from t1', - 'select round(count(binary_tag)) from super', - 'select round(count(binary_tag)) from t1', - 'select round(count(smallint_tag)) from super', - 'select round(count(smallint_tag)) from t1', - 'select round(count(tinyint_tag)) from super', - 'select round(count(tinyint_tag)) from t1', - 'select round(count(bool_tag)) from super', - 'select round(count(bool_tag)) from t1', - 'select round(count(nchar_tag)) from super', - 'select round(count(nchar_tag)) from t1', - 'select round(count(uint_tag)) from super', - 'select round(count(uint_tag)) from t1', - 'select round(count(ubigint_tag)) from super', - 'select round(count(ubigint_tag)) from t1', - 'select round(count(usmallint_tag)) from super', - 'select round(count(usmallint_tag)) from t1', - 'select round(count(utinyint_tag)) from super', - 'select round(count(utinyint_tag)) from t1', - 'select round(avg(int_col)) from super', - 'select round(avg(int_col)) from t1', - 'select round(avg(bigint_col)) from super', - 'select round(avg(bigint_col)) from t1', - 'select round(avg(float_col)) from super', - 'select round(avg(float_col)) from t1', - 'select round(avg(double_col)) from super', - 'select round(avg(double_col)) from t1', - 'select round(avg(smallint_col)) from super', - 'select round(avg(smallint_col)) from t1', - 'select round(avg(tinyint_col)) from super', - 'select round(avg(tinyint_col)) from t1', - 'select round(avg(uint_col)) from super', - 'select round(avg(uint_col)) from t1', - 'select round(avg(ubigint_col)) from super', - 'select round(avg(ubigint_col)) from t1', - 'select round(avg(usmallint_col)) from super', - 'select round(avg(usmallint_col)) from t1', - 'select round(avg(utinyint_col)) from super', - 'select round(avg(utinyint_col)) from t1', - 'select round(twa(int_col)) from t1', - 'select round(twa(bigint_col)) from t1', - 'select round(twa(float_col)) from t1', - 'select round(twa(double_col)) from t1', - 'select round(twa(smallint_col)) from t1', - 'select round(twa(tinyint_col)) from t1', - 'select round(twa(uint_col)) from t1', - 'select round(twa(ubigint_col)) from t1', - 'select round(twa(usmallint_col)) from t1', - 'select round(twa(utinyint_col)) from t1', - 'select round(sum(int_col)) from super', - 'select round(sum(int_col)) from t1', - 'select round(sum(bigint_col)) from super', - 'select round(sum(bigint_col)) from t1', - 'select round(sum(float_col)) from super', - 'select round(sum(float_col)) from t1', - 'select round(sum(double_col)) from super', - 'select round(sum(double_col)) from t1', - 'select round(sum(smallint_col)) from super', - 'select round(sum(smallint_col)) from t1', - 'select round(sum(tinyint_col)) from super', - 'select round(sum(tinyint_col)) from t1', - 'select round(sum(uint_col)) from super', - 'select round(sum(uint_col)) from t1', - 'select round(sum(ubigint_col)) from super', - 'select round(sum(ubigint_col)) from t1', - 'select round(sum(usmallint_col)) from super', - 'select round(sum(usmallint_col)) from t1', - 'select round(sum(utinyint_col)) from super', - 'select round(sum(utinyint_col)) from t1', - 'select round(stddev(int_col)) from super', - 'select round(stddev(int_col)) from t1', - 'select round(stddev(bigint_col)) from super', - 'select round(stddev(bigint_col)) from t1', - 'select round(stddev(float_col)) from super', - 'select round(stddev(float_col)) from t1', - 'select round(stddev(double_col)) from super', - 'select round(stddev(double_col)) from t1', - 'select round(stddev(smallint_col)) from super', - 'select round(stddev(smallint_col)) from t1', - 'select round(stddev(tinyint_col)) from super', - 'select round(stddev(tinyint_col)) from t1', - 'select round(stddev(uint_col)) from super', - 'select round(stddev(uint_col)) from t1', - 'select round(stddev(ubigint_col)) from super', - 'select round(stddev(ubigint_col)) from t1', - 'select round(stddev(usmallint_col)) from super', - 'select round(stddev(usmallint_col)) from t1', - 'select round(stddev(utinyint_col)) from super', - 'select round(stddev(utinyint_col)) from t1', - 'select round(irate(int_col)) from t1', - 'select round(irate(bigint_col)) from t1', - 'select round(irate(float_col)) from t1', - 'select round(irate(double_col)) from t1', - 'select round(irate(smallint_col)) from t1', - 'select round(irate(tinyint_col)) from t1', - 'select round(irate(uint_col)) from t1', - 'select round(irate(ubigint_col)) from t1', - 'select round(irate(usmallint_col)) from t1', - 'select round(irate(utinyint_col)) from t1', - 'select round(min(int_col)) from super', - 'select round(min(int_col)) from t1', - 'select round(min(bigint_col)) from super', - 'select round(min(bigint_col)) from t1', - 'select round(min(float_col)) from super', - 'select round(min(float_col)) from t1', - 'select round(min(double_col)) from super', - 'select round(min(double_col)) from t1', - 'select round(min(smallint_col)) from super', - 'select round(min(smallint_col)) from t1', - 'select round(min(tinyint_col)) from super', - 'select round(min(tinyint_col)) from t1', - 'select round(min(uint_col)) from super', - 'select round(min(uint_col)) from t1', - 'select round(min(ubigint_col)) from super', - 'select round(min(ubigint_col)) from t1', - 'select round(min(usmallint_col)) from super', - 'select round(min(usmallint_col)) from t1', - 'select round(min(utinyint_col)) from super', - 'select round(min(utinyint_col)) from t1', - 'select round(max(int_col)) from super', - 'select round(max(int_col)) from t1', - 'select round(max(bigint_col)) from super', - 'select round(max(bigint_col)) from t1', - 'select round(max(float_col)) from super', - 'select round(max(float_col)) from t1', - 'select round(max(double_col)) from super', - 'select round(max(double_col)) from t1', - 'select round(max(smallint_col)) from super', - 'select round(max(smallint_col)) from t1', - 'select round(max(tinyint_col)) from super', - 'select round(max(tinyint_col)) from t1', - 'select round(max(uint_col)) from super', - 'select round(max(uint_col)) from t1', - 'select round(max(ubigint_col)) from super', - 'select round(max(ubigint_col)) from t1', - 'select round(max(usmallint_col)) from super', - 'select round(max(usmallint_col)) from t1', - 'select round(max(utinyint_col)) from super', - 'select round(max(utinyint_col)) from t1', - 'select round(first(int_col)) from super', - 'select round(first(int_col)) from t1', - 'select round(first(bigint_col)) from super', - 'select round(first(bigint_col)) from t1', - 'select round(first(float_col)) from super', - 'select round(first(float_col)) from t1', - 'select round(first(double_col)) from super', - 'select round(first(double_col)) from t1', - 'select round(first(smallint_col)) from super', - 'select round(first(smallint_col)) from t1', - 'select round(first(tinyint_col)) from super', - 'select round(first(tinyint_col)) from t1', - 'select round(first(uint_col)) from super', - 'select round(first(uint_col)) from t1', - 'select round(first(ubigint_col)) from super', - 'select round(first(ubigint_col)) from t1', - 'select round(first(usmallint_col)) from super', - 'select round(first(usmallint_col)) from t1', - 'select round(first(utinyint_col)) from super', - 'select round(first(utinyint_col)) from t1', - 'select round(last(int_col)) from super', - 'select round(last(int_col)) from t1', - 'select round(last(bigint_col)) from super', - 'select round(last(bigint_col)) from t1', - 'select round(last(float_col)) from super', - 'select round(last(float_col)) from t1', - 'select round(last(double_col)) from super', - 'select round(last(double_col)) from t1', - 'select round(last(smallint_col)) from super', - 'select round(last(smallint_col)) from t1', - 'select round(last(tinyint_col)) from super', - 'select round(last(tinyint_col)) from t1', - 'select round(last(uint_col)) from super', - 'select round(last(uint_col)) from t1', - 'select round(last(ubigint_col)) from super', - 'select round(last(ubigint_col)) from t1', - 'select round(last(usmallint_col)) from super', - 'select round(last(usmallint_col)) from t1', - 'select round(last(utinyint_col)) from super', - 'select round(last(utinyint_col)) from t1', - 'select round(percentile(int_col, 1)) from t1', - 'select round(percentile(bigint_col, 1)) from t1', - 'select round(percentile(float_col, 1)) from t1', - 'select round(percentile(double_col, 1)) from t1', - 'select round(percentile(smallint_col, 1)) from t1', - 'select round(percentile(tinyint_col, 1)) from t1', - 'select round(percentile(uint_col, 1)) from t1', - 'select round(percentile(ubigint_col, 1)) from t1', - 'select round(percentile(usmallint_col, 1)) from t1', - 'select round(percentile(utinyint_col, 1)) from t1', - 'select round(apercentile(int_col, 1)) from super', - 'select round(apercentile(int_col, 1)) from t1', - 'select round(apercentile(bigint_col, 1)) from super', - 'select round(apercentile(bigint_col, 1)) from t1', - 'select round(apercentile(float_col, 1)) from super', - 'select round(apercentile(float_col, 1)) from t1', - 'select round(apercentile(double_col, 1)) from super', - 'select round(apercentile(double_col, 1)) from t1', - 'select round(apercentile(smallint_col, 1)) from super', - 'select round(apercentile(smallint_col, 1)) from t1', - 'select round(apercentile(tinyint_col, 1)) from super', - 'select round(apercentile(tinyint_col, 1)) from t1', - 'select round(apercentile(uint_col, 1)) from super', - 'select round(apercentile(uint_col, 1)) from t1', - 'select round(apercentile(ubigint_col, 1)) from super', - 'select round(apercentile(ubigint_col, 1)) from t1', - 'select round(apercentile(usmallint_col, 1)) from super', - 'select round(apercentile(usmallint_col, 1)) from t1', - 'select round(apercentile(utinyint_col, 1)) from super', - 'select round(apercentile(utinyint_col, 1)) from t1', - 'select round(last_row(int_col)) from super', - 'select round(last_row(int_col)) from t1', - 'select round(last_row(bigint_col)) from super', - 'select round(last_row(bigint_col)) from t1', - 'select round(last_row(float_col)) from super', - 'select round(last_row(float_col)) from t1', - 'select round(last_row(double_col)) from super', - 'select round(last_row(double_col)) from t1', - 'select round(last_row(smallint_col)) from super', - 'select round(last_row(smallint_col)) from t1', - 'select round(last_row(tinyint_col)) from super', - 'select round(last_row(tinyint_col)) from t1', - 'select round(last_row(uint_col)) from super', - 'select round(last_row(uint_col)) from t1', - 'select round(last_row(ubigint_col)) from super', - 'select round(last_row(ubigint_col)) from t1', - 'select round(last_row(usmallint_col)) from super', - 'select round(last_row(usmallint_col)) from t1', - 'select round(last_row(utinyint_col)) from super', - 'select round(last_row(utinyint_col)) from t1', - 'select round(spread(ts)) from super', - 'select round(spread(ts)) from t1', - 'select round(spread(timestamp_col)) from super', - 'select round(spread(timestamp_col)) from t1', - 'select round(spread(int_col)) from super', - 'select round(spread(int_col)) from t1', - 'select round(spread(bigint_col)) from super', - 'select round(spread(bigint_col)) from t1', - 'select round(spread(float_col)) from super', - 'select round(spread(float_col)) from t1', - 'select round(spread(double_col)) from super', - 'select round(spread(double_col)) from t1', - 'select round(spread(smallint_col)) from super', - 'select round(spread(smallint_col)) from t1', - 'select round(spread(tinyint_col)) from super', - 'select round(spread(tinyint_col)) from t1', - 'select round(spread(uint_col)) from super', - 'select round(spread(uint_col)) from t1', - 'select round(spread(ubigint_col)) from super', - 'select round(spread(ubigint_col)) from t1', - 'select round(spread(usmallint_col)) from super', - 'select round(spread(usmallint_col)) from t1', - 'select round(spread(utinyint_col)) from super', - 'select round(spread(utinyint_col)) from t1', - 'select round(int_col + int_col) from super', - 'select round(int_col + int_col) from t1', - 'select round(bigint_col + bigint_col) from super', - 'select round(bigint_col + bigint_col) from t1', - 'select round(float_col + float_col) from super', - 'select round(float_col + float_col) from t1', - 'select round(double_col + double_col) from super', - 'select round(double_col + double_col) from t1', - 'select round(smallint_col + smallint_col) from super', - 'select round(smallint_col + smallint_col) from t1', - 'select round(tinyint_col + tinyint_col) from super', - 'select round(tinyint_col + tinyint_col) from t1', - 'select round(uint_col + uint_col) from super', - 'select round(uint_col + uint_col) from t1', - 'select round(ubigint_col + ubigint_col) from super', - 'select round(ubigint_col + ubigint_col) from t1', - 'select round(usmallint_col + usmallint_col) from super', - 'select round(usmallint_col + usmallint_col) from t1', - 'select round(utinyint_col + utinyint_col) from super', - 'select round(utinyint_col + utinyint_col) from t1', - 'select round(int_col - int_col) from super', - 'select round(int_col - int_col) from t1', - 'select round(bigint_col - bigint_col) from super', - 'select round(bigint_col - bigint_col) from t1', - 'select round(float_col - float_col) from super', - 'select round(float_col - float_col) from t1', - 'select round(double_col - double_col) from super', - 'select round(double_col - double_col) from t1', - 'select round(smallint_col - smallint_col) from super', - 'select round(smallint_col - smallint_col) from t1', - 'select round(tinyint_col - tinyint_col) from super', - 'select round(tinyint_col - tinyint_col) from t1', - 'select round(uint_col - uint_col) from super', - 'select round(uint_col - uint_col) from t1', - 'select round(ubigint_col - ubigint_col) from super', - 'select round(ubigint_col - ubigint_col) from t1', - 'select round(usmallint_col - usmallint_col) from super', - 'select round(usmallint_col - usmallint_col) from t1', - 'select round(utinyint_col - utinyint_col) from super', - 'select round(utinyint_col - utinyint_col) from t1', - 'select round(int_col * int_col) from super', - 'select round(int_col * int_col) from t1', - 'select round(bigint_col * bigint_col) from super', - 'select round(bigint_col * bigint_col) from t1', - 'select round(float_col * float_col) from super', - 'select round(float_col * float_col) from t1', - 'select round(double_col * double_col) from super', - 'select round(double_col * double_col) from t1', - 'select round(smallint_col * smallint_col) from super', - 'select round(smallint_col * smallint_col) from t1', - 'select round(tinyint_col * tinyint_col) from super', - 'select round(tinyint_col * tinyint_col) from t1', - 'select round(uint_col * uint_col) from super', - 'select round(uint_col * uint_col) from t1', - 'select round(ubigint_col * ubigint_col) from super', - 'select round(ubigint_col * ubigint_col) from t1', - 'select round(usmallint_col * usmallint_col) from super', - 'select round(usmallint_col * usmallint_col) from t1', - 'select round(utinyint_col * utinyint_col) from super', - 'select round(utinyint_col * utinyint_col) from t1', - 'select round(int_col / int_col) from super', - 'select round(int_col / int_col) from t1', - 'select round(bigint_col / bigint_col) from super', - 'select round(bigint_col / bigint_col) from t1', - 'select round(float_col / float_col) from super', - 'select round(float_col / float_col) from t1', - 'select round(double_col / double_col) from super', - 'select round(double_col / double_col) from t1', - 'select round(smallint_col / smallint_col) from super', - 'select round(smallint_col / smallint_col) from t1', - 'select round(tinyint_col / tinyint_col) from super', - 'select round(tinyint_col / tinyint_col) from t1', - 'select round(uint_col / uint_col) from super', - 'select round(uint_col / uint_col) from t1', - 'select round(ubigint_col / ubigint_col) from super', - 'select round(ubigint_col / ubigint_col) from t1', - 'select round(usmallint_col / usmallint_col) from super', - 'select round(usmallint_col / usmallint_col) from t1', - 'select round(utinyint_col / utinyint_col) from super', - 'select round(utinyint_col / utinyint_col) from t1', - 'select int_col, round(int_col), int_col from super', - 'select int_col, round(int_col), int_col from t1', - 'select bigint_col, round(bigint_col), bigint_col from super', - 'select bigint_col, round(bigint_col), bigint_col from t1', - 'select float_col, round(float_col), float_col from super', - 'select float_col, round(float_col), float_col from t1', - 'select double_col, round(double_col), double_col from super', - 'select double_col, round(double_col), double_col from t1', - 'select smallint_col, round(smallint_col), smallint_col from super', - 'select smallint_col, round(smallint_col), smallint_col from t1', - 'select tinyint_col, round(tinyint_col), tinyint_col from super', - 'select tinyint_col, round(tinyint_col), tinyint_col from t1', - 'select uint_col, round(uint_col), uint_col from super', - 'select uint_col, round(uint_col), uint_col from t1', - 'select ubigint_col, round(ubigint_col), ubigint_col from super', - 'select ubigint_col, round(ubigint_col), ubigint_col from t1', - 'select usmallint_col, round(usmallint_col), usmallint_col from super', - 'select usmallint_col, round(usmallint_col), usmallint_col from t1', - 'select utinyint_col, round(utinyint_col), utinyint_col from super', - 'select utinyint_col, round(utinyint_col), utinyint_col from t1', - 'select 1, round(int_col), 1 from super', - 'select 1, round(int_col), 1 from t1', - 'select 1, round(bigint_col), 1 from super', - 'select 1, round(bigint_col), 1 from t1', - 'select 1, round(float_col), 1 from super', - 'select 1, round(float_col), 1 from t1', - 'select 1, round(double_col), 1 from super', - 'select 1, round(double_col), 1 from t1', - 'select 1, round(smallint_col), 1 from super', - 'select 1, round(smallint_col), 1 from t1', - 'select 1, round(tinyint_col), 1 from super', - 'select 1, round(tinyint_col), 1 from t1', - 'select 1, round(uint_col), 1 from super', - 'select 1, round(uint_col), 1 from t1', - 'select 1, round(ubigint_col), 1 from super', - 'select 1, round(ubigint_col), 1 from t1', - 'select 1, round(usmallint_col), 1 from super', - 'select 1, round(usmallint_col), 1 from t1', - 'select 1, round(utinyint_col), 1 from super', - 'select 1, round(utinyint_col), 1 from t1', - 'select round(int_col) as anyName from super', - 'select round(int_col) as anyName from t1', - 'select round(bigint_col) as anyName from super', - 'select round(bigint_col) as anyName from t1', - 'select round(float_col) as anyName from super', - 'select round(float_col) as anyName from t1', - 'select round(double_col) as anyName from super', - 'select round(double_col) as anyName from t1', - 'select round(smallint_col) as anyName from super', - 'select round(smallint_col) as anyName from t1', - 'select round(tinyint_col) as anyName from super', - 'select round(tinyint_col) as anyName from t1', - 'select round(uint_col) as anyName from super', - 'select round(uint_col) as anyName from t1', - 'select round(ubigint_col) as anyName from super', - 'select round(ubigint_col) as anyName from t1', - 'select round(usmallint_col) as anyName from super', - 'select round(usmallint_col) as anyName from t1', - 'select round(utinyint_col) as anyName from super', - 'select round(utinyint_col) as anyName from t1'] + 'select round(int_col) from t1', + 'select round(bigint_col) from super', + 'select round(bigint_col) from t1', + 'select round(float_col) from super', + 'select round(float_col) from t1', + 'select round(double_col) from super', + 'select round(double_col) from t1', + 'select round(smallint_col) from super', + 'select round(smallint_col) from t1', + 'select round(tinyint_col) from super', + 'select round(tinyint_col) from t1', + 'select round(uint_col) from super', + 'select round(uint_col) from t1', + 'select round(ubigint_col) from super', + 'select round(ubigint_col) from t1', + 'select round(usmallint_col) from super', + 'select round(usmallint_col) from t1', + 'select round(utinyint_col) from super', + 'select round(utinyint_col) from t1', + 'select round(int_col) - round(int_col) from super', + 'select round(int_col) - round(int_col) from t1', + 'select round(bigint_col) - round(bigint_col) from super', + 'select round(bigint_col) - round(bigint_col) from t1', + 'select round(float_col) - round(float_col) from super', + 'select round(float_col) - round(float_col) from t1', + 'select round(double_col) - round(double_col) from super', + 'select round(double_col) - round(double_col) from t1', + 'select round(smallint_col) - round(smallint_col) from super', + 'select round(smallint_col) - round(smallint_col) from t1', + 'select round(tinyint_col) - round(tinyint_col) from super', + 'select round(tinyint_col) - round(tinyint_col) from t1', + 'select round(uint_col) - round(uint_col) from super', + 'select round(uint_col) - round(uint_col) from t1', + 'select round(ubigint_col) - round(ubigint_col) from super', + 'select round(ubigint_col) - round(ubigint_col) from t1', + 'select round(usmallint_col) - round(usmallint_col) from super', + 'select round(usmallint_col) - round(usmallint_col) from t1', + 'select round(utinyint_col) - round(utinyint_col) from super', + 'select round(utinyint_col) - round(utinyint_col) from t1', + 'select round(int_col) / round(int_col) from super', + 'select round(int_col) / round(int_col) from t1', + 'select round(bigint_col) / round(bigint_col) from super', + 'select round(bigint_col) / round(bigint_col) from t1', + 'select round(float_col) / round(float_col) from super', + 'select round(float_col) / round(float_col) from t1', + 'select round(double_col) / round(double_col) from super', + 'select round(double_col) / round(double_col) from t1', + 'select round(smallint_col) / round(smallint_col) from super', + 'select round(smallint_col) / round(smallint_col) from t1', + 'select round(tinyint_col) / round(tinyint_col) from super', + 'select round(tinyint_col) / round(tinyint_col) from t1', + 'select round(uint_col) / round(uint_col) from super', + 'select round(uint_col) / round(uint_col) from t1', + 'select round(ubigint_col) / round(ubigint_col) from super', + 'select round(ubigint_col) / round(ubigint_col) from t1', + 'select round(usmallint_col) / round(usmallint_col) from super', + 'select round(usmallint_col) / round(usmallint_col) from t1', + 'select round(utinyint_col) / round(utinyint_col) from super', + 'select round(utinyint_col) / round(utinyint_col) from t1', + 'select round(int_col) * round(int_col) from super', + 'select round(int_col) * round(int_col) from t1', + 'select round(bigint_col) * round(bigint_col) from super', + 'select round(bigint_col) * round(bigint_col) from t1', + 'select round(float_col) * round(float_col) from super', + 'select round(float_col) * round(float_col) from t1', + 'select round(double_col) * round(double_col) from super', + 'select round(double_col) * round(double_col) from t1', + 'select round(smallint_col) * round(smallint_col) from super', + 'select round(smallint_col) * round(smallint_col) from t1', + 'select round(tinyint_col) * round(tinyint_col) from super', + 'select round(tinyint_col) * round(tinyint_col) from t1', + 'select round(uint_col) * round(uint_col) from super', + 'select round(uint_col) * round(uint_col) from t1', + 'select round(ubigint_col) * round(ubigint_col) from super', + 'select round(ubigint_col) * round(ubigint_col) from t1', + 'select round(usmallint_col) * round(usmallint_col) from super', + 'select round(usmallint_col) * round(usmallint_col) from t1', + 'select round(utinyint_col) * round(utinyint_col) from super', + 'select round(utinyint_col) * round(utinyint_col) from t1', + 'select round(count(ts)) from super', + 'select round(count(ts)) from t1', + 'select round(count(timestamp_col)) from super', + 'select round(count(timestamp_col)) from t1', + 'select round(count(int_col)) from super', + 'select round(count(int_col)) from t1', + 'select round(count(bigint_col)) from super', + 'select round(count(bigint_col)) from t1', + 'select round(count(float_col)) from super', + 'select round(count(float_col)) from t1', + 'select round(count(double_col)) from super', + 'select round(count(double_col)) from t1', + 'select round(count(binary_col)) from super', + 'select round(count(binary_col)) from t1', + 'select round(count(smallint_col)) from super', + 'select round(count(smallint_col)) from t1', + 'select round(count(tinyint_col)) from super', + 'select round(count(tinyint_col)) from t1', + 'select round(count(bool_col)) from super', + 'select round(count(bool_col)) from t1', + 'select round(count(nchar_col)) from super', + 'select round(count(nchar_col)) from t1', + 'select round(count(uint_col)) from super', + 'select round(count(uint_col)) from t1', + 'select round(count(ubigint_col)) from super', + 'select round(count(ubigint_col)) from t1', + 'select round(count(usmallint_col)) from super', + 'select round(count(usmallint_col)) from t1', + 'select round(count(utinyint_col)) from super', + 'select round(count(utinyint_col)) from t1', + 'select round(count(timestamp_tag)) from super', + 'select round(count(timestamp_tag)) from t1', + 'select round(count(int_tag)) from super', + 'select round(count(int_tag)) from t1', + 'select round(count(bigint_tag)) from super', + 'select round(count(bigint_tag)) from t1', + 'select round(count(float_tag)) from super', + 'select round(count(float_tag)) from t1', + 'select round(count(double_tag)) from super', + 'select round(count(double_tag)) from t1', + 'select round(count(binary_tag)) from super', + 'select round(count(binary_tag)) from t1', + 'select round(count(smallint_tag)) from super', + 'select round(count(smallint_tag)) from t1', + 'select round(count(tinyint_tag)) from super', + 'select round(count(tinyint_tag)) from t1', + 'select round(count(bool_tag)) from super', + 'select round(count(bool_tag)) from t1', + 'select round(count(nchar_tag)) from super', + 'select round(count(nchar_tag)) from t1', + 'select round(count(uint_tag)) from super', + 'select round(count(uint_tag)) from t1', + 'select round(count(ubigint_tag)) from super', + 'select round(count(ubigint_tag)) from t1', + 'select round(count(usmallint_tag)) from super', + 'select round(count(usmallint_tag)) from t1', + 'select round(count(utinyint_tag)) from super', + 'select round(count(utinyint_tag)) from t1', + 'select round(avg(int_col)) from super', + 'select round(avg(int_col)) from t1', + 'select round(avg(bigint_col)) from super', + 'select round(avg(bigint_col)) from t1', + 'select round(avg(float_col)) from super', + 'select round(avg(float_col)) from t1', + 'select round(avg(double_col)) from super', + 'select round(avg(double_col)) from t1', + 'select round(avg(smallint_col)) from super', + 'select round(avg(smallint_col)) from t1', + 'select round(avg(tinyint_col)) from super', + 'select round(avg(tinyint_col)) from t1', + 'select round(avg(uint_col)) from super', + 'select round(avg(uint_col)) from t1', + 'select round(avg(ubigint_col)) from super', + 'select round(avg(ubigint_col)) from t1', + 'select round(avg(usmallint_col)) from super', + 'select round(avg(usmallint_col)) from t1', + 'select round(avg(utinyint_col)) from super', + 'select round(avg(utinyint_col)) from t1', + 'select round(twa(int_col)) from t1', + 'select round(twa(bigint_col)) from t1', + 'select round(twa(float_col)) from t1', + 'select round(twa(double_col)) from t1', + 'select round(twa(smallint_col)) from t1', + 'select round(twa(tinyint_col)) from t1', + 'select round(twa(uint_col)) from t1', + 'select round(twa(ubigint_col)) from t1', + 'select round(twa(usmallint_col)) from t1', + 'select round(twa(utinyint_col)) from t1', + 'select round(sum(int_col)) from super', + 'select round(sum(int_col)) from t1', + 'select round(sum(bigint_col)) from super', + 'select round(sum(bigint_col)) from t1', + 'select round(sum(float_col)) from super', + 'select round(sum(float_col)) from t1', + 'select round(sum(double_col)) from super', + 'select round(sum(double_col)) from t1', + 'select round(sum(smallint_col)) from super', + 'select round(sum(smallint_col)) from t1', + 'select round(sum(tinyint_col)) from super', + 'select round(sum(tinyint_col)) from t1', + 'select round(sum(uint_col)) from super', + 'select round(sum(uint_col)) from t1', + 'select round(sum(ubigint_col)) from super', + 'select round(sum(ubigint_col)) from t1', + 'select round(sum(usmallint_col)) from super', + 'select round(sum(usmallint_col)) from t1', + 'select round(sum(utinyint_col)) from super', + 'select round(sum(utinyint_col)) from t1', + 'select round(stddev(int_col)) from super', + 'select round(stddev(int_col)) from t1', + 'select round(stddev(bigint_col)) from super', + 'select round(stddev(bigint_col)) from t1', + 'select round(stddev(float_col)) from super', + 'select round(stddev(float_col)) from t1', + 'select round(stddev(double_col)) from super', + 'select round(stddev(double_col)) from t1', + 'select round(stddev(smallint_col)) from super', + 'select round(stddev(smallint_col)) from t1', + 'select round(stddev(tinyint_col)) from super', + 'select round(stddev(tinyint_col)) from t1', + 'select round(stddev(uint_col)) from super', + 'select round(stddev(uint_col)) from t1', + 'select round(stddev(ubigint_col)) from super', + 'select round(stddev(ubigint_col)) from t1', + 'select round(stddev(usmallint_col)) from super', + 'select round(stddev(usmallint_col)) from t1', + 'select round(stddev(utinyint_col)) from super', + 'select round(stddev(utinyint_col)) from t1', + 'select round(irate(int_col)) from t1', + 'select round(irate(bigint_col)) from t1', + 'select round(irate(float_col)) from t1', + 'select round(irate(double_col)) from t1', + 'select round(irate(smallint_col)) from t1', + 'select round(irate(tinyint_col)) from t1', + 'select round(irate(uint_col)) from t1', + 'select round(irate(ubigint_col)) from t1', + 'select round(irate(usmallint_col)) from t1', + 'select round(irate(utinyint_col)) from t1', + 'select round(min(int_col)) from super', + 'select round(min(int_col)) from t1', + 'select round(min(bigint_col)) from super', + 'select round(min(bigint_col)) from t1', + 'select round(min(float_col)) from super', + 'select round(min(float_col)) from t1', + 'select round(min(double_col)) from super', + 'select round(min(double_col)) from t1', + 'select round(min(smallint_col)) from super', + 'select round(min(smallint_col)) from t1', + 'select round(min(tinyint_col)) from super', + 'select round(min(tinyint_col)) from t1', + 'select round(min(uint_col)) from super', + 'select round(min(uint_col)) from t1', + 'select round(min(ubigint_col)) from super', + 'select round(min(ubigint_col)) from t1', + 'select round(min(usmallint_col)) from super', + 'select round(min(usmallint_col)) from t1', + 'select round(min(utinyint_col)) from super', + 'select round(min(utinyint_col)) from t1', + 'select round(max(int_col)) from super', + 'select round(max(int_col)) from t1', + 'select round(max(bigint_col)) from super', + 'select round(max(bigint_col)) from t1', + 'select round(max(float_col)) from super', + 'select round(max(float_col)) from t1', + 'select round(max(double_col)) from super', + 'select round(max(double_col)) from t1', + 'select round(max(smallint_col)) from super', + 'select round(max(smallint_col)) from t1', + 'select round(max(tinyint_col)) from super', + 'select round(max(tinyint_col)) from t1', + 'select round(max(uint_col)) from super', + 'select round(max(uint_col)) from t1', + 'select round(max(ubigint_col)) from super', + 'select round(max(ubigint_col)) from t1', + 'select round(max(usmallint_col)) from super', + 'select round(max(usmallint_col)) from t1', + 'select round(max(utinyint_col)) from super', + 'select round(max(utinyint_col)) from t1', + 'select round(first(int_col)) from super', + 'select round(first(int_col)) from t1', + 'select round(first(bigint_col)) from super', + 'select round(first(bigint_col)) from t1', + 'select round(first(float_col)) from super', + 'select round(first(float_col)) from t1', + 'select round(first(double_col)) from super', + 'select round(first(double_col)) from t1', + 'select round(first(smallint_col)) from super', + 'select round(first(smallint_col)) from t1', + 'select round(first(tinyint_col)) from super', + 'select round(first(tinyint_col)) from t1', + 'select round(first(uint_col)) from super', + 'select round(first(uint_col)) from t1', + 'select round(first(ubigint_col)) from super', + 'select round(first(ubigint_col)) from t1', + 'select round(first(usmallint_col)) from super', + 'select round(first(usmallint_col)) from t1', + 'select round(first(utinyint_col)) from super', + 'select round(first(utinyint_col)) from t1', + 'select round(last(int_col)) from super', + 'select round(last(int_col)) from t1', + 'select round(last(bigint_col)) from super', + 'select round(last(bigint_col)) from t1', + 'select round(last(float_col)) from super', + 'select round(last(float_col)) from t1', + 'select round(last(double_col)) from super', + 'select round(last(double_col)) from t1', + 'select round(last(smallint_col)) from super', + 'select round(last(smallint_col)) from t1', + 'select round(last(tinyint_col)) from super', + 'select round(last(tinyint_col)) from t1', + 'select round(last(uint_col)) from super', + 'select round(last(uint_col)) from t1', + 'select round(last(ubigint_col)) from super', + 'select round(last(ubigint_col)) from t1', + 'select round(last(usmallint_col)) from super', + 'select round(last(usmallint_col)) from t1', + 'select round(last(utinyint_col)) from super', + 'select round(last(utinyint_col)) from t1', + 'select round(percentile(int_col, 1)) from t1', + 'select round(percentile(bigint_col, 1)) from t1', + 'select round(percentile(float_col, 1)) from t1', + 'select round(percentile(double_col, 1)) from t1', + 'select round(percentile(smallint_col, 1)) from t1', + 'select round(percentile(tinyint_col, 1)) from t1', + 'select round(percentile(uint_col, 1)) from t1', + 'select round(percentile(ubigint_col, 1)) from t1', + 'select round(percentile(usmallint_col, 1)) from t1', + 'select round(percentile(utinyint_col, 1)) from t1', + 'select round(apercentile(int_col, 1)) from super', + 'select round(apercentile(int_col, 1)) from t1', + 'select round(apercentile(bigint_col, 1)) from super', + 'select round(apercentile(bigint_col, 1)) from t1', + 'select round(apercentile(float_col, 1)) from super', + 'select round(apercentile(float_col, 1)) from t1', + 'select round(apercentile(double_col, 1)) from super', + 'select round(apercentile(double_col, 1)) from t1', + 'select round(apercentile(smallint_col, 1)) from super', + 'select round(apercentile(smallint_col, 1)) from t1', + 'select round(apercentile(tinyint_col, 1)) from super', + 'select round(apercentile(tinyint_col, 1)) from t1', + 'select round(apercentile(uint_col, 1)) from super', + 'select round(apercentile(uint_col, 1)) from t1', + 'select round(apercentile(ubigint_col, 1)) from super', + 'select round(apercentile(ubigint_col, 1)) from t1', + 'select round(apercentile(usmallint_col, 1)) from super', + 'select round(apercentile(usmallint_col, 1)) from t1', + 'select round(apercentile(utinyint_col, 1)) from super', + 'select round(apercentile(utinyint_col, 1)) from t1', + 'select round(last_row(int_col)) from super', + 'select round(last_row(int_col)) from t1', + 'select round(last_row(bigint_col)) from super', + 'select round(last_row(bigint_col)) from t1', + 'select round(last_row(float_col)) from super', + 'select round(last_row(float_col)) from t1', + 'select round(last_row(double_col)) from super', + 'select round(last_row(double_col)) from t1', + 'select round(last_row(smallint_col)) from super', + 'select round(last_row(smallint_col)) from t1', + 'select round(last_row(tinyint_col)) from super', + 'select round(last_row(tinyint_col)) from t1', + 'select round(last_row(uint_col)) from super', + 'select round(last_row(uint_col)) from t1', + 'select round(last_row(ubigint_col)) from super', + 'select round(last_row(ubigint_col)) from t1', + 'select round(last_row(usmallint_col)) from super', + 'select round(last_row(usmallint_col)) from t1', + 'select round(last_row(utinyint_col)) from super', + 'select round(last_row(utinyint_col)) from t1', + 'select round(interp(int_col)) from t1', + 'select round(interp(bigint_col)) from t1', + 'select round(interp(float_col)) from t1', + 'select round(interp(double_col)) from t1', + 'select round(interp(smallint_col)) from t1', + 'select round(interp(tinyint_col)) from t1', + 'select round(interp(uint_col)) from t1', + 'select round(interp(ubigint_col)) from t1', + 'select round(interp(usmallint_col)) from t1', + 'select round(interp(utinyint_col)) from t1', + 'select round(spread(ts)) from super', + 'select round(spread(ts)) from t1', + 'select round(spread(timestamp_col)) from super', + 'select round(spread(timestamp_col)) from t1', + 'select round(spread(int_col)) from super', + 'select round(spread(int_col)) from t1', + 'select round(spread(bigint_col)) from super', + 'select round(spread(bigint_col)) from t1', + 'select round(spread(float_col)) from super', + 'select round(spread(float_col)) from t1', + 'select round(spread(double_col)) from super', + 'select round(spread(double_col)) from t1', + 'select round(spread(smallint_col)) from super', + 'select round(spread(smallint_col)) from t1', + 'select round(spread(tinyint_col)) from super', + 'select round(spread(tinyint_col)) from t1', + 'select round(spread(uint_col)) from super', + 'select round(spread(uint_col)) from t1', + 'select round(spread(ubigint_col)) from super', + 'select round(spread(ubigint_col)) from t1', + 'select round(spread(usmallint_col)) from super', + 'select round(spread(usmallint_col)) from t1', + 'select round(spread(utinyint_col)) from super', + 'select round(spread(utinyint_col)) from t1', + 'select round(int_col + int_col) from super', + 'select round(int_col + int_col) from t1', + 'select round(bigint_col + bigint_col) from super', + 'select round(bigint_col + bigint_col) from t1', + 'select round(float_col + float_col) from super', + 'select round(float_col + float_col) from t1', + 'select round(double_col + double_col) from super', + 'select round(double_col + double_col) from t1', + 'select round(smallint_col + smallint_col) from super', + 'select round(smallint_col + smallint_col) from t1', + 'select round(tinyint_col + tinyint_col) from super', + 'select round(tinyint_col + tinyint_col) from t1', + 'select round(uint_col + uint_col) from super', + 'select round(uint_col + uint_col) from t1', + 'select round(ubigint_col + ubigint_col) from super', + 'select round(ubigint_col + ubigint_col) from t1', + 'select round(usmallint_col + usmallint_col) from super', + 'select round(usmallint_col + usmallint_col) from t1', + 'select round(utinyint_col + utinyint_col) from super', + 'select round(utinyint_col + utinyint_col) from t1', + 'select round(int_col - int_col) from super', + 'select round(int_col - int_col) from t1', + 'select round(bigint_col - bigint_col) from super', + 'select round(bigint_col - bigint_col) from t1', + 'select round(float_col - float_col) from super', + 'select round(float_col - float_col) from t1', + 'select round(double_col - double_col) from super', + 'select round(double_col - double_col) from t1', + 'select round(smallint_col - smallint_col) from super', + 'select round(smallint_col - smallint_col) from t1', + 'select round(tinyint_col - tinyint_col) from super', + 'select round(tinyint_col - tinyint_col) from t1', + 'select round(uint_col - uint_col) from super', + 'select round(uint_col - uint_col) from t1', + 'select round(ubigint_col - ubigint_col) from super', + 'select round(ubigint_col - ubigint_col) from t1', + 'select round(usmallint_col - usmallint_col) from super', + 'select round(usmallint_col - usmallint_col) from t1', + 'select round(utinyint_col - utinyint_col) from super', + 'select round(utinyint_col - utinyint_col) from t1', + 'select round(int_col * int_col) from super', + 'select round(int_col * int_col) from t1', + 'select round(bigint_col * bigint_col) from super', + 'select round(bigint_col * bigint_col) from t1', + 'select round(float_col * float_col) from super', + 'select round(float_col * float_col) from t1', + 'select round(double_col * double_col) from super', + 'select round(double_col * double_col) from t1', + 'select round(smallint_col * smallint_col) from super', + 'select round(smallint_col * smallint_col) from t1', + 'select round(tinyint_col * tinyint_col) from super', + 'select round(tinyint_col * tinyint_col) from t1', + 'select round(uint_col * uint_col) from super', + 'select round(uint_col * uint_col) from t1', + 'select round(ubigint_col * ubigint_col) from super', + 'select round(ubigint_col * ubigint_col) from t1', + 'select round(usmallint_col * usmallint_col) from super', + 'select round(usmallint_col * usmallint_col) from t1', + 'select round(utinyint_col * utinyint_col) from super', + 'select round(utinyint_col * utinyint_col) from t1', + 'select round(int_col / int_col) from super', + 'select round(int_col / int_col) from t1', + 'select round(bigint_col / bigint_col) from super', + 'select round(bigint_col / bigint_col) from t1', + 'select round(float_col / float_col) from super', + 'select round(float_col / float_col) from t1', + 'select round(double_col / double_col) from super', + 'select round(double_col / double_col) from t1', + 'select round(smallint_col / smallint_col) from super', + 'select round(smallint_col / smallint_col) from t1', + 'select round(tinyint_col / tinyint_col) from super', + 'select round(tinyint_col / tinyint_col) from t1', + 'select round(uint_col / uint_col) from super', + 'select round(uint_col / uint_col) from t1', + 'select round(ubigint_col / ubigint_col) from super', + 'select round(ubigint_col / ubigint_col) from t1', + 'select round(usmallint_col / usmallint_col) from super', + 'select round(usmallint_col / usmallint_col) from t1', + 'select round(utinyint_col / utinyint_col) from super', + 'select round(utinyint_col / utinyint_col) from t1', + 'select int_col, round(int_col), int_col from super', + 'select int_col, round(int_col), int_col from t1', + 'select bigint_col, round(bigint_col), bigint_col from super', + 'select bigint_col, round(bigint_col), bigint_col from t1', + 'select float_col, round(float_col), float_col from super', + 'select float_col, round(float_col), float_col from t1', + 'select double_col, round(double_col), double_col from super', + 'select double_col, round(double_col), double_col from t1', + 'select smallint_col, round(smallint_col), smallint_col from super', + 'select smallint_col, round(smallint_col), smallint_col from t1', + 'select tinyint_col, round(tinyint_col), tinyint_col from super', + 'select tinyint_col, round(tinyint_col), tinyint_col from t1', + 'select uint_col, round(uint_col), uint_col from super', + 'select uint_col, round(uint_col), uint_col from t1', + 'select ubigint_col, round(ubigint_col), ubigint_col from super', + 'select ubigint_col, round(ubigint_col), ubigint_col from t1', + 'select usmallint_col, round(usmallint_col), usmallint_col from super', + 'select usmallint_col, round(usmallint_col), usmallint_col from t1', + 'select utinyint_col, round(utinyint_col), utinyint_col from super', + 'select utinyint_col, round(utinyint_col), utinyint_col from t1', + 'select 1, round(int_col), 1 from super', + 'select 1, round(int_col), 1 from t1', + 'select 1, round(bigint_col), 1 from super', + 'select 1, round(bigint_col), 1 from t1', + 'select 1, round(float_col), 1 from super', + 'select 1, round(float_col), 1 from t1', + 'select 1, round(double_col), 1 from super', + 'select 1, round(double_col), 1 from t1', + 'select 1, round(smallint_col), 1 from super', + 'select 1, round(smallint_col), 1 from t1', + 'select 1, round(tinyint_col), 1 from super', + 'select 1, round(tinyint_col), 1 from t1', + 'select 1, round(uint_col), 1 from super', + 'select 1, round(uint_col), 1 from t1', + 'select 1, round(ubigint_col), 1 from super', + 'select 1, round(ubigint_col), 1 from t1', + 'select 1, round(usmallint_col), 1 from super', + 'select 1, round(usmallint_col), 1 from t1', + 'select 1, round(utinyint_col), 1 from super', + 'select 1, round(utinyint_col), 1 from t1', + 'select round(int_col) as anyName from super', + 'select round(int_col) as anyName from t1', + 'select round(bigint_col) as anyName from super', + 'select round(bigint_col) as anyName from t1', + 'select round(float_col) as anyName from super', + 'select round(float_col) as anyName from t1', + 'select round(double_col) as anyName from super', + 'select round(double_col) as anyName from t1', + 'select round(smallint_col) as anyName from super', + 'select round(smallint_col) as anyName from t1', + 'select round(tinyint_col) as anyName from super', + 'select round(tinyint_col) as anyName from t1', + 'select round(uint_col) as anyName from super', + 'select round(uint_col) as anyName from t1', + 'select round(ubigint_col) as anyName from super', + 'select round(ubigint_col) as anyName from t1', + 'select round(usmallint_col) as anyName from super', + 'select round(usmallint_col) as anyName from t1', + 'select round(utinyint_col) as anyName from super', + 'select round(utinyint_col) as anyName from t1'] + shouldPass2 = ['select round(super.int_col) from super', 'select round(super.int_col) from super, superb where super.ts = superb.ts and super.int_tag = superb.int_tag', @@ -1916,7 +1927,7 @@ class TDTestCase: 'select round(t1.usmallint_col) from t1', 'select round(t1.utinyint_col) from t1'] - + for s in range(len(select_command)): for f in range(len(from_command)): sql = "select " + select_command[s] + from_command[f] -- GitLab