提交 faee688d 编写于 作者: S serge-rider

#5726 Identifiers quoting fix


Former-commit-id: bc2b6b0e
上级 ec587955
......@@ -719,6 +719,7 @@
<parameter name="supports-truncate" value="false"/>
<parameter name="supports-references" value="false"/>
<parameter name="schema-filters-enabled" value="true"/>
</driver>
<!-- Cloudera -->
......
......@@ -150,7 +150,9 @@ public final class DBUtils {
}
if (!hasBadChars && caseSensitiveNames) {
// Check for case of quoted idents. Do not check for unquoted case - we don't need to quote em anyway
if (sqlDialect.supportsQuotedMixedCase()) {
// Disable supportsQuotedMixedCase checking. Let's quote identifiers always if storage case doesn't match actual case
/*if (sqlDialect.supportsQuotedMixedCase()) */
{
// See how unquoted idents are stored
// If passed identifier case differs from unquoted then we need to escape it
if (sqlDialect.storesUnquotedCase() == DBPIdentifierCase.UPPER) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册