[MCOL-5509] columnstore_info.load_from_s3 | Misleading Messages Created: 2023-06-07 Updated: 2023-06-22 Resolved: 2023-06-22 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 23.02.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Allen Herrera | Assignee: | Leonid Fedorov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Assigned for Testing: | |
||||||||
| Description |
|
Reproduction
Notice the message
But in reality the records were indeed created |
| Comments |
| Comment by Leonid Fedorov [ 2023-06-19 ] | ||||
|
It absolutely will be merged into develop-23-02, after QA confirmed the fix is working. Current CMAPI state is the same in both branches, so no need for extra testing on stable branch, if this works on develop | ||||
| Comment by Daniel Lee (Inactive) [ 2023-06-19 ] | ||||
|
Build verified: develop branch engine: d2d0e08690b280019f6afd112a5183dd8a140595 Reproduced the hanging issue in 23.02.3. Verified the fix in the build mentioned above. MariaDB [mytest]> CALL columnstore_info.load_from_s3('s3://allens-spark-test-bucket/','junk_data.csv','db1', 'tab1', ',', '', '');
----------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------- Query OK, 0 rows affected (2.209 sec) NOTES When trying to reproduce the issue in 23.02.3, I also did some tests with DBT3 orders and lineitem dataset with "|" field terminator. It did not have the reported issue. | ||||
| Comment by Daniel Lee (Inactive) [ 2023-06-22 ] | ||||
|
Build verified: develop-23.02 branch engine: 5342234f1500b307a6a7d0e5996bb7cf1a9900d4 MariaDB [(none)]> MariaDB [(none)]> SET columnstore_s3_region='us-west-2'; MariaDB [(none)]> SET columnstore_s3_key='x'; MariaDB [(none)]> SET columnstore_s3_secret='x'; MariaDB [(none)]> CALL columnstore_info.load_from_s3('s3://allens-spark-test-bucket/','junk_data.csv','db1', 'tab1', ',', '"', '');
----------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------- Query OK, 0 rows affected (2.234 sec) MariaDB [(none)]> select count
----------
---------- | ||||
| Comment by Leonid Fedorov [ 2023-06-22 ] | ||||
|
That's how cpimport informs, you can check it manually. There is extra empty line here, it's skipped. |