drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Divya Gehlot <divya.htco...@gmail.com>
Subject Re: need help to decrypt error code
Date Mon, 02 Oct 2017 04:04:04 GMT
When I query

> select * from table_name;

 it works fine and displays the columns values
but when use cast on columns

> select CAST(`Last_Name` AS VARCHAR(200)) AS `Last_Name`  from table_name;

The column values are null

Appreciate the help !

Thanks,
Divya


On 28 September 2017 at 21:56, Kunal Khatua <kkhatua@mapr.com> wrote:

> This appears to be the brief client side error.
>
> What does the Drillbit 's log show in the stacktrace?
> ________________________________
> From: Divya Gehlot <divya.htconex@gmail.com>
> Sent: Thursday, September 28, 2017 12:43:38 AM
> To: user@drill.apache.org
> Subject: need help to decrypt error code
>
> Hi,
>
> I have 18 MB csv file and when I try to CTAS as parquet table it throws
> below error
>
> SYSTEM ERROR: IllegalArgumentException: length: -44154 (expected: >= 0)
>
> Appreciate the help !
>
> Thanks,
> Divya
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message