Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message reporting invalid column truncates column name #278

Open
jwoLondon opened this issue May 13, 2022 · 1 comment
Open

Error message reporting invalid column truncates column name #278

jwoLondon opened this issue May 13, 2022 · 1 comment

Comments

@jwoLondon
Copy link

If reference is made to a non-existent column, an error message is (as expected) reported. However it appears to truncate the name of the misnamed column, missing off the first three characters.

For example:

dt = aq
  .table({
    animal: ["cat", "dog", "fish"],
    numberOfLegs: [4, 4, 0]
  })
  .groupby("number_of_legs")
  .count()

generates the message

dt = Error: Invalid column reference: "ber_of_legs"

An invalid column name that is three characters or fewer is reported as an empty string.

@kenklin
Copy link

kenklin commented Jun 21, 2023

FWIW, I am running arquero 5.2.0 on node and the error message still appears as above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants