Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Voyager] Error in importing hstore data in live migration and BetaFastDataExport mode from PG #2155

Open
1 task done
priyanshi-yb opened this issue Jan 6, 2025 · 0 comments

Comments

@priyanshi-yb
Copy link
Contributor

priyanshi-yb commented Jan 6, 2025

Jira Link: DB-14753

Description

While importing the data for the hstore data, getting the following error -

parsing map: invalid character 'k' looking for beginning of object key string

example -

CREATE TABLE hstore_example (
    id SERIAL PRIMARY KEY,
    data hstore
);
INSERT INTO hstore_example (data) 
VALUES 
    ('"key1"=>"value1", "key2"=>"value2"');

and if its an empty string -

INSERT INTO hstore_example (data) 
VALUES  (''),

then it panics -

panic: runtime error: slice bounds out of range [:-1]

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@priyanshi-yb priyanshi-yb self-assigned this Jan 6, 2025
@yugabyte-ci yugabyte-ci changed the title [Voyager] Error in importing hstore data in live migration and BetaFastDataExport mode from Postgresql [Voyager] Error in importing hstore data in live migration and BetaFastDataExport mode from PG Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants