Open rad-pat opened 3 hours ago
Can you check v1.2.659-nightly? There are some bugs in [1.2.654 , 1.2.658], so the releases are deleted.
Yes, will try
Can you check v1.2.659-nightly? There are some bugs in [1.2.654 , 1.2.658], so the releases are deleted.
Seems to still exist, slightly different circumstances perhaps. I need to figure out how to replicate exactly - will update when I know how.
Now if I insert with SELECT * FROM t1
or SELECT TOP 55000 * from t1
it works, but if I insert like below, I still get query not returning
INSERT INTO t2
("C1", "C2", "C3", "C4", "C5", "V1")
SELECT CAST(t1."C1" AS TEXT)
,CAST(t1."C2" AS TEXT)
,CAST(t1."C3" AS TEXT)
,CAST(t1."C4" AS TEXT)
,CAST(t1."C5" AS TEXT)
,CAST(t1."V1" AS DECIMAL(38, 10))
Search before asking
Version
v1.2.659-nightly
What's Wrong?
This is a strange one. I have a table with 54,596 records. The simple group-by shown below fails to return. If I create a new table t2 with same columns and insert data into it via
INSERT INTO t2 SELECT * from t1
, the similar group by query for t2 also fails. However, if I insert the data via,INSERT INTO t2 TOP 55000 * FROM t1
then the similar group by query works. I cannot even get anEXPLAIN
on the group by query if I use INSERT without TOPLots of this reported in the logs and have to restart query pod.
The plan for the group by after insert via TOP * records looks like this:
How to Reproduce?
I need to attempt to reproduce this from scratch, loading the data from a CSV or something. Then I can upload a procedure to reproduce.
Are you willing to submit PR?