Support Questions

Find answers, ask questions, and share your expertise

impala-shell Command-Line Option has a problem with the [--output_delimiter=character]

avatar
New Contributor

Specifies the character to use as a delimiter between fields when query results are printed in plain format by the -B option. Defaults to tab ('\t'). If an output value contains the delimiter character, that field is quoted, escaped by doubling quotation marks, or both. Added in Impala 1.0.1.

My  output value contains  some ('\t'),So,I tried using  \`field\` OR “field” and so on,  But all of  them doesn't work.Does anyone know how to solve it?

Impala Shell v3.4.0-SNAPSHOT

2 REPLIES 2

avatar
Community Manager

@xiaohai, Welcome to our community! To help you get the best possible answer, I have tagged in our Impala experts @ChethanYM @willx  who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Master Collaborator

Hi @xiaohai 

>What is the error you are seeing?

>can you use this delimiter?

impala-shell -B --output_delimiter='|' -q 'SELECT * FROM your_table'

 

Regards,

Chethan YM