[jira] [Commented] (IGNITE-5263) ODBC: use schema notion instead of cache name
[ https://issues.apache.org/jira/browse/IGNITE-5263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037022#comment-16037022 ] ASF GitHub Bot commented on IGNITE-5263: Github user isapego closed the pull request at: https://github.com/apache/ignite/pull/2071 > ODBC: use schema notion instead of cache name > - > > Key: IGNITE-5263 > URL: https://issues.apache.org/jira/browse/IGNITE-5263 > Project: Ignite > Issue Type: Task > Components: odbc, sql >Reporter: Vladimir Ozerov >Assignee: Igor Sapego > Labels: cpp, odbc > Fix For: 2.1 > > > We should no longer operate on "cacheName". Instead, we should work with > schemas. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (IGNITE-5263) ODBC: use schema notion instead of cache name
[ https://issues.apache.org/jira/browse/IGNITE-5263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16036963#comment-16036963 ] Pavel Tupitsyn commented on IGNITE-5263: [~isapego] looks good to me. > ODBC: use schema notion instead of cache name > - > > Key: IGNITE-5263 > URL: https://issues.apache.org/jira/browse/IGNITE-5263 > Project: Ignite > Issue Type: Task > Components: odbc, sql >Reporter: Vladimir Ozerov >Assignee: Igor Sapego > Labels: cpp, odbc > Fix For: 2.1 > > > We should no longer operate on "cacheName". Instead, we should work with > schemas. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (IGNITE-5263) ODBC: use schema notion instead of cache name
[ https://issues.apache.org/jira/browse/IGNITE-5263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16036940#comment-16036940 ] Igor Sapego commented on IGNITE-5263: - [~ptupitsyn], please review > ODBC: use schema notion instead of cache name > - > > Key: IGNITE-5263 > URL: https://issues.apache.org/jira/browse/IGNITE-5263 > Project: Ignite > Issue Type: Task > Components: odbc, sql >Reporter: Vladimir Ozerov >Assignee: Igor Sapego > Labels: cpp, odbc > Fix For: 2.1 > > > We should no longer operate on "cacheName". Instead, we should work with > schemas. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (IGNITE-5263) ODBC: use schema notion instead of cache name
[ https://issues.apache.org/jira/browse/IGNITE-5263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16036900#comment-16036900 ] Vladimir Ozerov commented on IGNITE-5263: - [~isapego], I added one more fix. Please check if the problem has gone. > ODBC: use schema notion instead of cache name > - > > Key: IGNITE-5263 > URL: https://issues.apache.org/jira/browse/IGNITE-5263 > Project: Ignite > Issue Type: Task > Components: odbc, sql >Reporter: Vladimir Ozerov >Assignee: Igor Sapego > Labels: cpp, odbc > Fix For: 2.1 > > > We should no longer operate on "cacheName". Instead, we should work with > schemas. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (IGNITE-5263) ODBC: use schema notion instead of cache name
[ https://issues.apache.org/jira/browse/IGNITE-5263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16036857#comment-16036857 ] Igor Sapego commented on IGNITE-5263: - [~vozerov], previous issue is fixed, but now I get NPE in several tests (much less number of tests): {noformat} Failed to fetch SQL query result [reqId=5, req=OdbcQueryFetchRequest [queryId=1, pageSize=1024]] java.lang.NullPointerException at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.isPreloadingActive(GridReduceQueryExecutor.java:353) at org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:577) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$8.iterator(IgniteH2Indexing.java:1160) at org.apache.ignite.internal.processors.cache.QueryCursorImpl.iterator(QueryCursorImpl.java:95) at org.apache.ignite.internal.processors.odbc.odbc.OdbcRequestHandler.fetchQuery(OdbcRequestHandler.java:251) at org.apache.ignite.internal.processors.odbc.odbc.OdbcRequestHandler.handle(OdbcRequestHandler.java:120) at org.apache.ignite.internal.processors.odbc.SqlListenerNioListener.onMessage(SqlListenerNioListener.java:152) at org.apache.ignite.internal.processors.odbc.SqlListenerNioListener.onMessage(SqlListenerNioListener.java:44) at org.apache.ignite.internal.util.nio.GridNioFilterChain$TailFilter.onMessageReceived(GridNioFilterChain.java:279) at org.apache.ignite.internal.util.nio.GridNioFilterAdapter.proceedMessageReceived(GridNioFilterAdapter.java:109) at org.apache.ignite.internal.util.nio.GridNioAsyncNotifyFilter$3.body(GridNioAsyncNotifyFilter.java:97) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110) at org.apache.ignite.internal.util.worker.GridWorkerPool$1.run(GridWorkerPool.java:70) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) {noformat} Following tests are failing: - TestCurrentDate - TestCurdate - TestCurrentTime - TestCurtime - TestCurrentTimestamp - TestOperatorLessInt - TestOperatorLessDouble - TestEscConvertFunctionDouble - TestEscConvertFunctionFloat > ODBC: use schema notion instead of cache name > - > > Key: IGNITE-5263 > URL: https://issues.apache.org/jira/browse/IGNITE-5263 > Project: Ignite > Issue Type: Task > Components: odbc, sql >Reporter: Vladimir Ozerov >Assignee: Igor Sapego > Labels: cpp, odbc > Fix For: 2.1 > > > We should no longer operate on "cacheName". Instead, we should work with > schemas. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (IGNITE-5263) ODBC: use schema notion instead of cache name
[ https://issues.apache.org/jira/browse/IGNITE-5263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16034846#comment-16034846 ] ASF GitHub Bot commented on IGNITE-5263: GitHub user isapego opened a pull request: https://github.com/apache/ignite/pull/2071 IGNITE-5263: Replaced ODBC connection param "Cache" with "Schema" You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-5263 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/2071.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2071 commit f37fada5e4ad5730f20ae964db30fd84d3e207c4 Author: Igor Sapego Date: 2017-06-01T17:00:16Z IGNITE-5263: Renamed cache connection param to Schema commit 6a23f1fbfd5c2013ad8713dc4d9646f98af955f2 Author: Igor Sapego Date: 2017-06-02T12:24:01Z IGNITE-5263: Implmented on Java side commit 59701054b55d2ab7f7bbf1abca4b95aabb2c53cb Author: Igor Sapego Date: 2017-06-02T14:34:25Z IGNITE-5263: Minor fixes > ODBC: use schema notion instead of cache name > - > > Key: IGNITE-5263 > URL: https://issues.apache.org/jira/browse/IGNITE-5263 > Project: Ignite > Issue Type: Task > Components: odbc, sql >Reporter: Vladimir Ozerov >Assignee: Igor Sapego > Labels: cpp, odbc > Fix For: 2.1 > > > We should no longer operate on "cacheName". Instead, we should work with > schemas. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (IGNITE-5263) ODBC: use schema notion instead of cache name
[ https://issues.apache.org/jira/browse/IGNITE-5263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16034839#comment-16034839 ] Igor Sapego commented on IGNITE-5263: - [~vozerov], take a look please. On hold until the issue is resolved somehow. > ODBC: use schema notion instead of cache name > - > > Key: IGNITE-5263 > URL: https://issues.apache.org/jira/browse/IGNITE-5263 > Project: Ignite > Issue Type: Task > Components: odbc, sql >Reporter: Vladimir Ozerov >Assignee: Igor Sapego > Labels: cpp, odbc > Fix For: 2.1 > > > We should no longer operate on "cacheName". Instead, we should work with > schemas. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (IGNITE-5263) ODBC: use schema notion instead of cache name
[ https://issues.apache.org/jira/browse/IGNITE-5263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16034604#comment-16034604 ] Igor Sapego commented on IGNITE-5263: - Getting exceptions when trying to execute queries for no particular cache: {noformat} Failed to find at least one cache for SQL statement: SELECT CURRENT_DATE() {noformat} > ODBC: use schema notion instead of cache name > - > > Key: IGNITE-5263 > URL: https://issues.apache.org/jira/browse/IGNITE-5263 > Project: Ignite > Issue Type: Task > Components: odbc, sql >Reporter: Vladimir Ozerov >Assignee: Igor Sapego > Labels: cpp, odbc > Fix For: 2.1 > > > We should no longer operate on "cacheName". Instead, we should work with > schemas. -- This message was sent by Atlassian JIRA (v6.3.15#6346)