Skip to content

Minor fault in influx v1 shell: Incompleteness in the help-as-you-type function #527

@elofu17

Description

@elofu17

Summary:
The helping function that show you suggestions as you type lack vital suggestions for SHOW TAG.

Info + how to reproduce:
I run the latest version of influx CLI on a Debian 11 machine (package: influxdb2-cli 2.7.3-1).

# influx version
Influx CLI dev (git: none) build_date: 2023-04-28T14:24:14Z

I run the v1 shell and connect to my InfluxDB v2 (also latest version, on the same Debian 11 machine).

# influx v1 shell
InfluxQL Shell dev
Connected to InfluxDB OSS v2.7.5
> use Main
> precision rfc3339

Now I type SHOW TAG at the prompt.
I'm presented with just one possible suggestion: VALUES.
It should also show suggestions for KEY and KEYS.

Also:
If you type SHOW TAG VALUES it should help you with the next word(s) WITH KEY.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions