Skip to content

Conversation

texodus
Copy link
Member

@texodus texodus commented Jan 4, 2022

Fixes #1666, fixes #1690

  • re-implements View.to_csv() in C++ using Arrow's CSV support, making CSV writing consistent across Python and JavaScript.
  • Adds individual columns to View.to_arrow() (and by extension .to_csv()), to include individual row pivot columns (named Column Name (Group by #)). This was previously unimplemented for .to_arrow(), and rendered as a single , separated link from .to_csv() (which is conflated with the CSV's own , causing CSV output with row_pivots > 1 don't render correctly #1666).

As a side effect, the performance of .to_csv() methods has been increased ~4x for both Python and JavaScript.

Screen Shot 2022-01-03 at 8 41 15 PM

@texodus texodus added breaking bug Concrete, reproducible bugs labels Jan 4, 2022
@texodus texodus force-pushed the arrow-csv branch 2 times, most recently from 2fc6091 to 0209d34 Compare January 5, 2022 08:43
@texodus texodus marked this pull request as ready for review January 5, 2022 08:45
@texodus texodus force-pushed the arrow-csv branch 2 times, most recently from e66d6cc to 4d7d0e0 Compare January 5, 2022 17:53
@texodus texodus merged commit c47fc8f into master Jan 5, 2022
@texodus texodus deleted the arrow-csv branch January 5, 2022 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking bug Concrete, reproducible bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

String field filter in server mode not work CSV output with row_pivots > 1 don't render correctly
1 participant