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
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When using the Python language bindings, the string representations of the datafusion's objects could be more useful. Currently they show Python's default string representation, e.g.:
Describe the solution you'd like
Ideally customize information displayed in the debugger/cosole. I raised PR #159 which implements Python's __repr__ methods for the datafusion's classes listed below. This method gets called to populate the debugger in VS Code, among others.
Debugging in VS Code - BeforeDebugging in VS Code - After
Below is an overview of the proposed outputs, very curious to hear your thoughts/feedback:
Use available identifiers or properties - here it would be nice if Catalog, Database and Table would have a unique identifier or name but I didn't find such properties (in the example below the Table object doesn't seem to know it's labeled "t", only the Database object seems to store that info).
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When using the Python language bindings, the string representations of the datafusion's objects could be more useful. Currently they show Python's default string representation, e.g.:
Other packages such as pandas or polars provide more specific outputs:
Describe the solution you'd like
Ideally customize information displayed in the debugger/cosole. I raised PR #159 which implements Python's
__repr__
methods for the datafusion's classes listed below. This method gets called to populate the debugger in VS Code, among others.Debugging in VS Code - Before
Debugging in VS Code - After
Below is an overview of the proposed outputs, very curious to hear your thoughts/feedback:
Dataframe
Print up to ten rows of the dataframe
Expressions
Context
Use available identifiers or properties - here it would be nice if Catalog, Database and Table would have a unique identifier or name but I didn't find such properties (in the example below the Table object doesn't seem to know it's labeled "t", only the Database object seems to store that info).
Configuration
Describe alternatives you've considered
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: