Using Query.jl in conjunction with DataFrames.jl I find that I often make silly mistakes with the syntax, such as:
df |>
@orderby(:IssueDate) |>
DataFrame
instead of
df |>
@orderby(_.IssueDate) |>
DataFrame
In such cases, Query.jl simply ignores the @orderby line, and does so silently.
I think that if the arguments to @orderby do not resolve to something in df that can be ordered, there should be a warning thrown, if not an error.
Using
Query.jlin conjunction withDataFrames.jlI find that I often make silly mistakes with the syntax, such as:instead of
In such cases,
Query.jlsimply ignores the@orderbyline, and does so silently.I think that if the arguments to
@orderbydo not resolve to something indfthat can be ordered, there should be a warning thrown, if not an error.