Skip to content

Conversation

@nablabits
Copy link

Could fix #1434

The bottom line of the issue was that when having a column name of the sort xY, doing str over that around here returned the doubled quote version '"xY"' (presumably because column names are lowercased by default) rendering the output list of db_signal to be empty

I have refactored a bit the method to just convert to columns if required so as to avoid doing str over Column objects.

Refactor db_signals() to filter on string names before converting to Column objects, preventing double quoting when filtering by name. Previously, filtering was applied after Column object creation, causing incorrect name matching.

Add test cases to verify column names with special characters (uppercase, underscores) are handled correctly in mutate operations.
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

Successfully merging this pull request may close these issues.

read_json fails when variable names are written in snake_case or camelCase

1 participant