[MCOL-3385] Strings returned by the Avro C API include the null terminator in thestring length Created: 2019-06-17  Updated: 2019-07-17  Resolved: 2019-07-17

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2.5

Type: Bug Priority: Major
Reporter: Andrew Hutchings (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MCOL-3384 Crash in mxs_adapter Closed

 Description   

markus makela contributed patch to review:

https://github.com/mariadb-corporation/mariadb-columnstore-data-adapters/pull/116



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2019-06-17 ]

markus makela can you please let our QA know how to test this?

Comment by markus makela [ 2019-06-17 ]

Should be as simple as setting it up and inserting a string via Kafka. The tutorial here should be enough to verify that it works (it's the same thing I did to reproduce it): https://github.com/mariadb-corporation/mariadb-columnstore-data-adapters/blob/develop-1.2/kafka-avro-adapter/doc/Tutorial.md

Comment by Daniel Lee (Inactive) [ 2019-07-17 ]

Build verified: 1.2.5-1 RC (2nd)

server commit:
f44f7d9
engine commit:
f2c2a30

Implemented and executed the automated data streaming test (see below) and verified string length.

The data streaming test is part of the installtest suite. It installs and configures MariaDB server, Maxscale, CDC server, and ColumnStore for data streaming from MariaDB Server to ColumnStore using vagrant VMs.

Generated at Thu Feb 08 02:42:21 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.