[MCOL-1186] INSERT..SELECT Fails "Error Code: 1815. Internal error" Created: 2018-01-30 Updated: 2022-11-05 Resolved: 2022-11-05 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | N/A |
| Affects Version/s: | 1.1.1 |
| Fix Version/s: | Icebox |
| Type: | Task | Priority: | Minor |
| Reporter: | Aziz Vahora | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
use test; create table test1_cs (id int,cName varchar(50)) engine=columnstore; – This statement works as expected – Thist statement does not work. – Results in following error Is this a bug or do I need to enable some flag? We are not able to transfer data from one columnstore table to another and worst yet from staging innodb table to columnstore table. Currently we have written a work around to use CPIMPORT tool. This is certainly slowing down our pipeline and testing. Here is getsoftwareinfo Name : mariadb-columnstore-platform Relocations: (not relocatable) |
| Comments |
| Comment by David Thompson (Inactive) [ 2018-01-30 ] |
|
Hi, first you might want to upgrade to the GA version 1.1.2 but aside from that, there is likely an underlying error reported in the logs under /var/log/mariadb/columnstore, e.g. in err.log. Can you review that, if it doesn't make sense you can send us directly a columnstore support file: https://mariadb.com/kb/en/library/system-troubleshooting-mariadb-columnstore/#mariadb-columnstore-support-report-tool Without more details, it might be you are running low on /tmp space if cpimport is working ok for the same table. When you run insert select with autocommit on it internally buffers the data in tmp. |
| Comment by Aziz Vahora [ 2018-01-30 ] |
|
Hello David, Here is the only line in our err.log file cpimport into the table works perfectly fine even with loading 10's of thousands of rows. attached file for the support tool output. |
| Comment by Aziz Vahora [ 2018-01-30 ] |
|
FYI, |
| Comment by David Thompson (Inactive) [ 2018-01-30 ] |
|
The degraded state is because it can't find the pid for mysqld: System columnstore-1 System and Module statuses Component Status Last Status Change Module pm1 DEGRADED Wed Jan 17 17:32:53 2018 MariaDB ColumnStore Process statuses Process Module Status Last Status Change Process ID But obviously it is still running since you were able to run queries. We've seen this before but not yet sure of the cause but is benign. |
| Comment by David Thompson (Inactive) [ 2018-01-30 ] |
|
On my 1.1.2 instance the specific test case above works just fine. Does this still reproduce after the restart? |
| Comment by Aziz Vahora [ 2018-01-30 ] |
|
Wow that is weird. |
| Comment by David Thompson (Inactive) [ 2018-01-30 ] |
|
Possibly, will need to investigate further but good to know that a restart cleared it. |
| Comment by David Thompson (Inactive) [ 2018-01-31 ] |
|
Do you recall if you started having problems right after Jan 24th 17:23 or more recently. It looks like myslqd was restarted then and for whatever reason no pid file was created. |
| Comment by Todd Stoffel (Inactive) [ 2022-11-05 ] |
|
Item is out of date. Closing due to inactivity. If you feel this was done in error please open a new ticket. |