Skip to main content
xiaohai
Bronze ⭐️⭐️⭐️
October 24, 2024
Question

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

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

VidyaSargur
Community Manager
Community Manager
October 24, 2024

@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.

Translate
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.
ChethanYM
Gold ⭐️
Gold ⭐️
November 22, 2024

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

Translate