You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where if any of the column names from from the data read into f (which is type File) shares name with one of the fields that are accessed there, it will likely error or maybe do incorrect things at least.
In the linked thread this happened when one column had the name name, which then errored.
The text was updated successfully, but these errors were encountered:
albheim
changed the title
File getproperty
getproperty on File makes internal use of dot notation problematic
Apr 20, 2023
From a discourse thread.
Since getproperty on
File
is defined to first look up if any field is in the internal lookup tableCSV.jl/src/file.jl
Lines 142 to 145 in cfb4ffb
we get a problem when using getproperty (i.e. dot syntax) to access the fields of the struct, as can be seen here
CSV.jl/src/file.jl
Line 940 in cfb4ffb
where if any of the column names from from the data read into
f
(which is typeFile
) shares name with one of the fields that are accessed there, it will likely error or maybe do incorrect things at least.In the linked thread this happened when one column had the name
name
, which then errored.The text was updated successfully, but these errors were encountered: