Skip to content

PG import csv file + scheme describe doesn't work. #2201

@pashandor789

Description

@pashandor789

a) schema bug steps:

  1. creating table
--!syntax_pg

CREATE TABLE test
(
    kek           INTEGER PRIMARY KEY
);
  1. scheme describe command
./ydb -e grpc://localhost:2136 -d /Root/test scheme describe test --stats
<table> test
Status: INTERNAL_ERROR
Issues: 
<main>: Fatal: /opt/buildagent/work/3e574e3efc81dc20/tag/ydb/core/ydb_convert/table_description.cpp:126: It is not allowed to create NOT NULL column with pg type, code: 1

b) import file csv -p test test.csv

  1. creating table
--!syntax_pg

CREATE TABLE test
(
    kek           INTEGER PRIMARY KEY
);
  1. creating csv file
echo 228 > test.csv
  1. import css command
./ydb -e grpc://localhost:2136 -d /Root/test import file csv -p test test.csv


Status: INTERNAL_ERROR
Issues: 
<main>: Fatal: /opt/buildagent/work/3e574e3efc81dc20/tag/ydb/core/ydb_convert/table_description.cpp:126: It is not allowed to create NOT NULL column with pg type, code: 1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions