This is an automated email from the ASF dual-hosted git repository.
cancai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/main by this push:
new 61a989ac47 [CALCITE-7256] Make the fields of SqlTableRef public
61a989ac47 is described below
commit 61a989ac4736bee350ced0f4210cf5d1f04ed4e9
Author: zhuyufeng0809 <[email protected]>
AuthorDate: Thu Oct 30 12:03:51 2025 +0800
[CALCITE-7256] Make the fields of SqlTableRef public
---
core/src/main/java/org/apache/calcite/sql/SqlTableRef.java | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/core/src/main/java/org/apache/calcite/sql/SqlTableRef.java
b/core/src/main/java/org/apache/calcite/sql/SqlTableRef.java
index 8d164b77a1..e4665c116c 100644
--- a/core/src/main/java/org/apache/calcite/sql/SqlTableRef.java
+++ b/core/src/main/java/org/apache/calcite/sql/SqlTableRef.java
@@ -36,8 +36,15 @@ public class SqlTableRef extends SqlCall {
//~ Instance fields --------------------------------------------------------
- private final SqlIdentifier tableName;
- private final SqlNodeList hints;
+ /**
+ * Table name identifier.
+ */
+ public final SqlIdentifier tableName;
+
+ /**
+ * List of SQL hints associated with the table.
+ */
+ public final SqlNodeList hints;
//~ Static fields/initializers ---------------------------------------------