[ https://issues.apache.org/jira/browse/IGNITE-8152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17062572#comment-17062572 ]
Ignite TC Bot commented on IGNITE-8152: --------------------------------------- {panel:title=Branch: [pull/7521/head] Base: [master] : Possible Blockers (1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1} {color:#d04437}Cache 6{color} [[tests 0 Exit Code |https://ci.ignite.apache.org/viewLog.html?buildId=5139385]] {panel} [TeamCity *--> Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5139431&buildTypeId=IgniteTests24Java8_RunAll] > Forbid empty sql schema name > ---------------------------- > > Key: IGNITE-8152 > URL: https://issues.apache.org/jira/browse/IGNITE-8152 > Project: Ignite > Issue Type: Improvement > Components: sql > Reporter: Pavel Kuznetsov > Assignee: Alexey > Priority: Major > Labels: newbie > Attachments: image-2020-03-19-16-01-42-979.png > > Time Spent: 2.5h > Remaining Estimate: 0h > > Currently we allow empty schema name (quoted) in cache configuration > org.apache.ignite.configuration.CacheConfiguration#setSqlSchema : > {noformat} > When sqlSchema is not specified, quoted cacheName is used instead. > sqlSchema could not be an empty string. Has to be "\"\"" instead. > Params: > sqlSchema - Schema name for current cache according to SQL ANSI-99. Should > not be null. > {noformat} > Specifying schema \"\" results in empty string schema name. > No schema in sql query is treated as PUBLIC, but \"\" is regular schema name. > It's better to disallow usage of \"\" schema -- This message was sent by Atlassian Jira (v8.3.4#803005)