Skip to content
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

Support convert LogicalPlan::EmptyRelation to SQL String #10799

Closed
goldmedal opened this issue Jun 5, 2024 · 1 comment · Fixed by #10803
Closed

Support convert LogicalPlan::EmptyRelation to SQL String #10799

goldmedal opened this issue Jun 5, 2024 · 1 comment · Fixed by #10803
Assignees
Labels
enhancement New feature or request

Comments

@goldmedal
Copy link
Contributor

Is your feature request related to a problem or challenge?

I tried to perform the parse and unparse roundtrip for the SQL:

SELECT 1

However, I got the error message

 NotImplemented("Unsupported operator: EmptyRelation")

Describe the solution you'd like

The unparse rule for EmptyRelation should be hanlded in datafusion/sql/src/unparser/plan.rs.

Describe alternatives you've considered

No response

Additional context

No response

@goldmedal goldmedal added the enhancement New feature or request label Jun 5, 2024
@goldmedal
Copy link
Contributor Author

take

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant