influx-cli icon indicating copy to clipboard operation
influx-cli copied to clipboard

influx query truncates long columns

Open russorat opened this issue 4 years ago • 0 comments

noticed this difference between the old cli and the new one. using the --raw flag works as expected.

influx query -c tools "buckets()"

new cli:

      xxxxxxxxxxxxxxxxxx          abcdefghi-test        xxxxxxxxxxxxxxxxxx                                     172800000000000
      xxxxxxxxxxxxxxxxxx       abcdefghi_curated        xxxxxxxxxxxxxxxxxx                                                   0
      xxxxxxxxxxxxxxxxxx  abcdefghi_http_api_...        xxxxxxxxxxxxxxxxxx                                                   0
      xxxxxxxxxxxxxxxxxx            abcdefghi_v1        xxxxxxxxxxxxxxxxxx                                                   0
      xxxxxxxxxxxxxxxxxx        temp_slo_testing        xxxxxxxxxxxxxxxxxx                                    2592000000000000

old cli:

      xxxxxxxxxxxxxxxxxx                                     abcdefghi-test        xxxxxxxxxxxxxxxxxx                                     172800000000000
      xxxxxxxxxxxxxxxxxx                                  abcdefghi_curated        xxxxxxxxxxxxxxxxxx                                                   0
      xxxxxxxxxxxxxxxxxx                           abcdefghi_http_api_clean        xxxxxxxxxxxxxxxxxx                                                   0
      xxxxxxxxxxxxxxxxxx                                       abcdefghi_v1        xxxxxxxxxxxxxxxxxx                                                   0
      xxxxxxxxxxxxxxxxxx                                   temp_slo_testing        xxxxxxxxxxxxxxxxxx                                    2592000000000000

I'm not sure if this is something to address tbh. i'm just highlighting this as a difference, and it might be good to understand how to customize the column width.

russorat avatar Jul 06 '21 15:07 russorat