-
Notifications
You must be signed in to change notification settings - Fork 15
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
Jdb/tables fix #122
Jdb/tables fix #122
Conversation
@essenciary @PGimenez I like this PR. The existence of clean_label is a bit surprising. |
@hhaensel Yes, it probably makes sense to remove the automatic use of @jeremiedb I still need to fix the filtering, I'll get to it soon. It doesn't make sense for server side filtering to also run client side filtering as the server side filtering does the same thing (the client side will have nothing to filter). Maybe it makes sense to have an option to decide between server side and client side filtering. |
@jeremiedb currently tagging a new version to address the filtering issue. Once that is confirmed to work as expected, we can make a decision on the |
@essenciary shouldn't we merge this? |
I'd be happy to the PR merged as it is currently, which keeps the name as extracted from the Tables API. Regarding if it's a breaking change, the And yes the filtering functionnality now works very smoothly, thanks! |
@essenciary, @PGimenez I think we should merge this PR. The reasoning is still valide and there's no other refactoring pending anynmore. |
could it be merged? |
Oops, sorry about this @jeremiedb |
Fix #120 #121
This PR overrides the
label
contructor inactive_columns
andDataTableOptions
with vanillastring
.As for the best way forward, my suggestion would be to rely on an optional user specified vector of columnnames, but I'd definitly prefer that adhoc modifiers like uppercasing and substitution ("_" => "").
Also, since DataFrame supports the handling of non regular variable names (ex:
DataFrame("Nice Name" => 1:2)
), I think it makes the scenario where raw column names from source data are expected as labels (at least by default) quite reasonable. From a user perspective, I think it's easier to reason if there isn't an additonal layer of Tables Interface that acts upon the source table, beyond the well established Tables.jl interface.Regardng the fix for adding back
filter
support, the only thing I'm not fully sure is whether this may interfere with the server side filtering support, as I'm not clear whether a server side filtering query would end up actually doing the client side filtering on top of it.