uwdata / arquero

Query processing and transformation of array-backed data tables.
https://idl.uw.edu/arquero
BSD 3-Clause "New" or "Revised" License
1.22k stars 64 forks source link

Error message reporting invalid column truncates column name #278

Open jwoLondon opened 2 years ago

jwoLondon commented 2 years ago

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 commented 1 year ago

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