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

csv_parse() incorrect parse some data #1

Open
rin-nas opened this issue Nov 22, 2021 · 0 comments
Open

csv_parse() incorrect parse some data #1

rin-nas opened this issue Nov 22, 2021 · 0 comments
Labels
invalid This doesn't seem right

Comments

@rin-nas
Copy link
Owner

rin-nas commented Nov 22, 2021

select t[1],
       --regexp_replace(t[1], '([^ ])(?=")', '\1 '),
       t[2],
       t[3]
from csv_parse($$
Компания, Наименование (бренд), ИНН
ООО "Профессиональный консультант", Профессиональный Консультант, 7725340889
ООО "Страховой брокер Сбербанка", Сбер Страховой брокер, 7706810730
АО "Сбербанк Управление Активами", Сбер Управление Активами, 7710183778
$$, ',' , false) as t
@rin-nas rin-nas added bug Something isn't working invalid This doesn't seem right and removed bug Something isn't working labels Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant