Commit 42a0289d authored by Eugene Kosov's avatar Eugene Kosov

Tests: optimized fields

parent 1903b407
...@@ -58,6 +58,12 @@ select a from t where b=NULL query for system_time as of timestamp now(6); ...@@ -58,6 +58,12 @@ select a from t where b=NULL query for system_time as of timestamp now(6);
a a
Warnings: Warnings:
Warning 4075 Attempt to read unversioned field `b` in historical query Warning 4075 Attempt to read unversioned field `b` in historical query
select a from t where b is NULL query for system_time as of timestamp now(6);
a
1
3
Warnings:
Warning 4075 Attempt to read unversioned field `b` in historical query
select count(*), b from t group by b having b=NULL query for system_time as of timestamp now(6); select count(*), b from t group by b having b=NULL query for system_time as of timestamp now(6);
count(*) b count(*) b
Warnings: Warnings:
......
...@@ -16,6 +16,7 @@ select * from t group by a having a=2 query for system_time as of timestamp now( ...@@ -16,6 +16,7 @@ select * from t group by a having a=2 query for system_time as of timestamp now(
select * from t group by b having b=2 query for system_time as of timestamp now(6); select * from t group by b having b=2 query for system_time as of timestamp now(6);
select a from t where b=2 query for system_time as of timestamp now(6); select a from t where b=2 query for system_time as of timestamp now(6);
select a from t where b=NULL query for system_time as of timestamp now(6); select a from t where b=NULL query for system_time as of timestamp now(6);
select a from t where b is NULL query for system_time as of timestamp now(6);
select count(*), b from t group by b having b=NULL query for system_time as of timestamp now(6); select count(*), b from t group by b having b=NULL query for system_time as of timestamp now(6);
select a, b from t; select a, b from t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment