You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "diqiu50 (via GitHub)" <gi...@apache.org> on 2025/08/19 07:32:01 UTC
[PR] [#5660] fix (doc): Update document for uppercase table and column names not supported in trino-connector [gravitino]
diqiu50 opened a new pull request, #8171:
URL: https://github.com/apache/gravitino/pull/8171
### What changes were proposed in this pull request?
Update document for uppercase table and column names not supported in trino-connector
### Why are the changes needed?
Fix: #5660
### Does this PR introduce _any_ user-facing change?
Update documents
### How was this patch tested?
NO
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#7355] fix (doc): Update document for uppercase table and column names not supported in trino-connector of PostgreSQL catalog [gravitino]
Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on code in PR #8171:
URL: https://github.com/apache/gravitino/pull/8171#discussion_r2286926527
##########
docs/trino-connector/catalog-postgresql.md:
##########
@@ -14,6 +14,16 @@ To connect to PostgreSQL, you need:
- PostgreSQL 10.x or higher.
- Network access from the Trino coordinator and workers to PostgreSQL. Port 5432 is the default port.
+## Case sensitivity
+
+PostgreSQL treats unquoted identifiers as case insensitive.
+For example, the table name MyTable is equivalent to mytable and MYTABLE.
+
+However, if you create a table with quoted identifiers, such as "MyTable", it becomes case sensitive and must be referenced exactly as "MyTable".
Review Comment:
> PostgreSQL treats unquoted identifiers as case insensitive.
For example, the table name MyTable is equivalent to mytable and MYTABLE.
What is the final result if an unquoted table `MyTable` is created? is it `mytable`? Please explain it in the docs
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#7355] fix (doc): Update document for uppercase table and column names not supported in trino-connector of PostgreSQL catalog [gravitino]
Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao merged PR #8171:
URL: https://github.com/apache/gravitino/pull/8171
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#7355] fix (doc): Update document for uppercase table and column names not supported in trino-connector of PostgreSQL catalog [gravitino]
Posted by "diqiu50 (via GitHub)" <gi...@apache.org>.
diqiu50 commented on code in PR #8171:
URL: https://github.com/apache/gravitino/pull/8171#discussion_r2286808849
##########
docs/trino-connector/catalog-postgresql.md:
##########
@@ -14,6 +14,16 @@ To connect to PostgreSQL, you need:
- PostgreSQL 10.x or higher.
- Network access from the Trino coordinator and workers to PostgreSQL. Port 5432 is the default port.
+## Case sensitivity
+
+PostgreSQL treats unquoted identifiers as case insensitive.
+For example, the table name MyTable is equivalent to mytable and MYTABLE.
+
+However, if you create a table with quoted identifiers, such as "MyTable", it becomes case sensitive and must be referenced exactly as "MyTable".
Review Comment:
The `schema` is the same. I fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#7355] fix (doc): Update document for uppercase table and column names not supported in trino-connector of PostgreSQL catalog [gravitino]
Posted by "diqiu50 (via GitHub)" <gi...@apache.org>.
diqiu50 commented on code in PR #8171:
URL: https://github.com/apache/gravitino/pull/8171#discussion_r2288096158
##########
docs/trino-connector/catalog-postgresql.md:
##########
@@ -14,6 +14,16 @@ To connect to PostgreSQL, you need:
- PostgreSQL 10.x or higher.
- Network access from the Trino coordinator and workers to PostgreSQL. Port 5432 is the default port.
+## Case sensitivity
+
+PostgreSQL treats unquoted identifiers as case insensitive.
+For example, the table name MyTable is equivalent to mytable and MYTABLE.
+
+However, if you create a table with quoted identifiers, such as "MyTable", it becomes case sensitive and must be referenced exactly as "MyTable".
Review Comment:
It seems like 'mytable', but using 'mytable', 'MyTable', or 'MYTABLE' in queries is valid.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#7355] fix (doc): Update document for uppercase table and column names not supported in trino-connector of PostgreSQL catalog [gravitino]
Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on code in PR #8171:
URL: https://github.com/apache/gravitino/pull/8171#discussion_r2285085932
##########
docs/trino-connector/catalog-postgresql.md:
##########
@@ -14,6 +14,16 @@ To connect to PostgreSQL, you need:
- PostgreSQL 10.x or higher.
- Network access from the Trino coordinator and workers to PostgreSQL. Port 5432 is the default port.
+## Case sensitivity
+
+PostgreSQL treats unquoted identifiers as case insensitive.
+For example, the table name MyTable is equivalent to mytable and MYTABLE.
+
+However, if you create a table with quoted identifiers, such as "MyTable", it becomes case sensitive and must be referenced exactly as "MyTable".
Review Comment:
What is the case sensitivity of schema names?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [#7355] fix (doc): Update document for uppercase table and column names not supported in trino-connector of PostgreSQL catalog [gravitino]
Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 commented on code in PR #8171:
URL: https://github.com/apache/gravitino/pull/8171#discussion_r2288154087
##########
docs/trino-connector/catalog-postgresql.md:
##########
@@ -14,6 +14,16 @@ To connect to PostgreSQL, you need:
- PostgreSQL 10.x or higher.
- Network access from the Trino coordinator and workers to PostgreSQL. Port 5432 is the default port.
+## Case sensitivity
+
+PostgreSQL treats unquoted identifiers as case insensitive.
+For example, the table name MyTable is equivalent to mytable and MYTABLE.
+
+However, if you create a table with quoted identifiers, such as "MyTable", it becomes case sensitive and must be referenced exactly as "MyTable".
Review Comment:
I see.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org