This is an automated email from the ASF dual-hosted git repository.
wayne pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new a86ee16a93 minor: add more document to Wildcard expr (#7822)
a86ee16a93 is described below
commit a86ee16a934b9ffed1ee71fc55cee440636cd38e
Author: Ruihang Xia <[email protected]>
AuthorDate: Sat Oct 14 23:03:31 2023 +0800
minor: add more document to Wildcard expr (#7822)
Signed-off-by: Ruihang Xia <[email protected]>
---
datafusion/expr/src/expr.rs | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/datafusion/expr/src/expr.rs b/datafusion/expr/src/expr.rs
index 3e4e306897..3949d25b30 100644
--- a/datafusion/expr/src/expr.rs
+++ b/datafusion/expr/src/expr.rs
@@ -165,9 +165,15 @@ pub enum Expr {
InSubquery(InSubquery),
/// Scalar subquery
ScalarSubquery(Subquery),
- /// Represents a reference to all fields in a schema.
+ /// Represents a reference to all available fields.
+ ///
+ /// This expr has to be resolved to a list of columns before translating
logical
+ /// plan into physical plan.
Wildcard,
- /// Represents a reference to all fields in a specific schema.
+ /// Represents a reference to all available fields in a specific schema.
+ ///
+ /// This expr has to be resolved to a list of columns before translating
logical
+ /// plan into physical plan.
QualifiedWildcard { qualifier: String },
/// List of grouping set expressions. Only valid in the context of an
aggregate
/// GROUP BY expression list