You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2021/01/29 08:13:04 UTC

[GitHub] [phoenix] ankitsinghal edited a comment on pull request #1117: PHOENIX-6343 : Phoenix allows duplicate column names when one of them is a primary key

ankitsinghal edited a comment on pull request #1117:
URL: https://github.com/apache/phoenix/pull/1117#issuecomment-769650400


   ```In your example, how would you address the pk id ?
   What would / should rs.getString("id") return ?
   To be consistent, it should be "0".id. However, that leaves no way to address pk.id.
   This is the reason that specifically PK and the default cf should not have identical names.
   
   
   ```
   yes, it makes sense, we can't force users to refer every default cf column with "0." and primary columns directly. Thanks


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org