[MCOL-169] Properly configured <CrossEngineSupport> in Calpont.xml still results in error on cross engine join Created: 2016-06-22 Updated: 2016-11-29 Resolved: 2016-11-29 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Justin Swanhart (Inactive) | Assignee: | David Thompson (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
<CrossEngineSupport> MariaDB [test]> select fact.i1, fact_myisam.i1 from fact join fact_myisam on fact.seq = fact_myisam.seq where fact.i1 != fact_myisam.i1; CREATE TABLE `fact` ( CREATE TABLE `fact_myisam` ( |
| Comments |
| Comment by Justin Swanhart (Inactive) [ 2016-06-22 ] |
|
Actually this seems to be side effect of: |
| Comment by Justin Swanhart (Inactive) [ 2016-06-22 ] |
|
I created user 'ce@localhost' with password 'ce'. Error is now: MariaDB [test]> select fact.i1, fact_myisam.i1 from fact join fact_myisam on fact.seq = fact_myisam.seq where fact.i1 != fact_myisam.i1; |
| Comment by David Thompson (Inactive) [ 2016-10-03 ] |
|
I can reproduce this by configuring cross engine joins to use a minimal privilege user ce that only has access to the table to be queried. Looking in /var/log/mariadb/columnstore/info.log there are some clues: Now when i try to query the table as user ce it returns an error: granting privileges to ce to have access to this db resolves the issue: Some more time should be spent documenting what columnstore is doing here and what are the minimal privilege grants should the remote user not be privileged. |
| Comment by David Thompson (Inactive) [ 2016-11-29 ] |
|
The documentation has been revised. Also the stated error indicates a system issue most likely because a node was brought down and so the data cannot be retrieved from that node until it is restored or the dbroot is moved to an active pm node. |