|
Tivona Hu |
at May 21, 2014 at 9:12 am
|
⇧ |
| |
I've tested on tables of several rows to thousands of rows, all got the
same result.
It's no problem to "select *" or query on old columns with/without limit
If I select new_column from tbl limit 10, it shows:
+-----------+
new_column |
+-----------+
NULL |
NULL |
NULL |
NULL |
NULL |
NULL |
NULL |
NULL |
NULL |
NULL |
+-----------+
But if I "select distinct(new_column) from tbl limit 10", it will hang.
Nong於 2014年5月21日星期三UTC+8上午11時35分45秒寫道:
How many rows in your table? Can you try select * from tbl limit 10?
On Mon, May 19, 2014 at 6:54 PM, Tivona Hu <huti...@gmail.com<javascript:>
wrote:
There's no error message. But the query hangs (distinct new_column,
count(new_column)..) without returning anything, and "select new_column"
keeps printing nonstoppedly:
....
NULL
NULL
--------------------+
new_column |
--------------------+
NULL
NULL
NULL
...
Nong於 2014年5月20日星期二UTC+8上午12時40分50秒寫道:
That should work. What's the error you see?
On Mon, May 19, 2014 at 12:35 AM, Tivona Hu wrote:By the way, I think it's supposed to work according to this:
https://issues.cloudera.org/browse/IMPALA-779"Currently, the only supported schema evolution is adding columns at
the end. This is supported in both directions.
If you add a column to the end of the table schema (not in the file),
Impala will populate the missing columns with NULLs."
To unsubscribe from this group and stop receiving emails from it, send
an email to impala-user...@cloudera.org.
To unsubscribe from this group and stop receiving emails from it, send
an email to impala-user...@cloudera.org <javascript:>.
To unsubscribe from this group and stop receiving emails from it, send an email to impala-user+unsubscribe@cloudera.org.