[ https://issues.apache.org/jira/browse/IMPALA-8652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiawei Wang reassigned IMPALA-8652: ----------------------------------- Assignee: Jiawei Wang > Illegal delimiter error in shell has "unknown exception" as part of error > message > --------------------------------------------------------------------------------- > > Key: IMPALA-8652 > URL: https://issues.apache.org/jira/browse/IMPALA-8652 > Project: IMPALA > Issue Type: Bug > Components: Clients > Affects Versions: Impala 3.2.0 > Reporter: Tim Armstrong > Assignee: Jiawei Wang > Priority: Minor > Labels: newbie, ramp-up > > Repro: > {noformat} > $ impala-shell.sh -B --output_delimiter '||' -q 'select 1,1,1' > Starting Impala Shell without Kerberos authentication > Opened TCP connection to localhost:21000 > Connected to localhost:21000 > Server version: impalad version 3.3.0-SNAPSHOT DEBUG (build > a0d96078a522ee72b1fbcedb5629451123afbfd0) > Query: select 1,1,1 > Query submitted at: 2019-06-11 13:15:11 (Coordinator: > http://tarmstrong-box:25000) > Query progress can be monitored at: > http://tarmstrong-box:25000/query_plan?query_id=f14a14db36e6157c:aadd29bf00000000 > Unknown Exception : Illegal delimiter ||, the delimiter must be a 1-character > string. > Could not execute command: select 1,1,1 > {noformat} > We have a test for this error message, but it only does a substring match. > I think the issue is that the validation of the argument is done only after > the query is running, and ValueError is raised in DelimitedOutputFormatter > and caught in a different place from most argument errors. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org