You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jonahgao (via GitHub)" <gi...@apache.org> on 2023/08/01 02:10:38 UTC
[GitHub] [arrow-datafusion] jonahgao commented on pull request #7160: feat: support primary key aother syntax
jonahgao commented on PR #7160:
URL: https://github.com/apache/arrow-datafusion/pull/7160#issuecomment-1659457667
Perhaps we should consider scenarios where primary keys are defined multiple times.
For example:
```sh
psql=> create table foo(
a int primary key,
b int,
c int,
primary key(b,c)
);
ERROR: multiple primary keys for table "foo" are not allowed
LINE 5: primary key(b,c)
```
It will fail in PostgreSQL.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org