[MCOL-358] Error in Cross Engine Join Query Created: 2016-10-13 Updated: 2016-11-29 Resolved: 2016-11-29 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | 1.0.3 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Kumar Saurav Sonu | Assignee: | David Thompson (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Sprint: | 2016-22, 2016-23 |
| Description |
|
I am getting below error on performing cross engine query in mariadb columnstore. My query is :- In the above query there is cross engine join between :- I am getting ERROR 1815 (HY000): Internal error: fatal error executing query in crossengine client lib(17)(17) because inner select( SELECT sr.id, sr.machine, sr.start_time FROM stoppage_reason sr, stoppage_configuration sc WHERE sr.start_time BETWEEN '2016-10-13 16:05:15' AND '2016-10-13 16:05:15' AND sr.end_time IS NULL AND sc.machine = sr.machine AND sc.with_end_timestamp = false When i insert some dummy data in this table :- insert into stoppage_configuration values (1, 'Bleh',0,1,1,1,1); Thanks, |
| Comments |
| Comment by David Thompson (Inactive) [ 2016-10-13 ] |
|
Hi Saurav, |
| Comment by Kumar Saurav Sonu [ 2016-10-14 ] |
|
Hi David, I have tried the method suggested by you but it is still not working. Please find below the simple steps to reproduce the issue. 2)Create another table :- 3)Now run the below query :- SELECT st.name student_name FROM student st, ( SELECT bi.id,bi.birth_time FROM birth_information bi WHERE bi.birth_time BETWEEN '2016-10-13 16:05:15' AND '2016-10-13 16:05:15') a WHERE a.id = st.id; It will throw ERROR 1815 (HY000): Internal error: fatal error executing query in crossengine client lib(17)(17) Let me know if you have any issue recreating the same. Thanks, |
| Comment by David Thompson (Inactive) [ 2016-10-14 ] |
|
Can you confirm: With your schema i am able to make this work. |
| Comment by Kumar Saurav Sonu [ 2016-10-15 ] |
|
Hi David, Two queries mentioned above are :- B->SELECT st.name student_name FROM student st, ( SELECT bi.id,bi.birth_time FROM birth_information bi WHERE bi.birth_time BETWEEN '2016-10-13 16:05:15' AND '2016-10-13 16:05:15') a WHERE a.id = st.id; Your question answers are :- |
| Comment by David Thompson (Inactive) [ 2016-10-15 ] |
|
That is strange.. Would you mind sharing the schema / create tables for the tables for query A, i.e stoppage_reason etc? Another way to troubleshoot is to run the query as your covacsis user as that may surface some permission issues since the non column store queries are run as that user. |
| Comment by Kumar Saurav Sonu [ 2016-10-15 ] |
|
Hi David, I have tried running my query A as both covacsis and root user but then also it is giving the same error. Please find below scheama/create tables for the query A :- 2) stoppage_reason :- 3)stoppage_configuration :- CREATE TABLE `stoppage_configuration` ( Let me know if you need any more info. |
| Comment by David Thompson (Inactive) [ 2016-10-16 ] |
|
I used your schema and put in some data and everything is fine. Can you redo the screenshot for 3 / show grants for <user> as the screenshot is just showing the users table? |
| Comment by Kumar Saurav Sonu [ 2016-10-17 ] |
|
Hi David, Please find the showgrantsforuseroutput.jpg attached.And one more information i want you to give is that i have installed MariaDB in virtualbox(ubuntu 16.04).Is query failing has any thing to do with Virtual Box Installation. |
| Comment by David Thompson (Inactive) [ 2016-10-17 ] |
|
Try changing your grant to be GRANT CREATE TEMPORARY TABLES ON `infinidb_vtable`.* TO 'covacsis'@'127.0.0.1' . Right now you have this permission granted to covacsis@localhost and you are using 127.0.0.1 in the config in columnstore.xml. These need to be aligned. |
| Comment by David Thompson (Inactive) [ 2016-11-29 ] |
|
Due to lack of response, assuming this resolved the issue. Please re-open if you are still having issues. |