[jira] [Commented] (DERBY-2212) Add "Unique where not null" to create index

2017-11-01 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16234615#comment-16234615 ] Buğra Gedik commented on DERBY-2212: Was there an update this. It seems almost 10 year

[jira] [Commented] (DERBY-2212) Add "Unique where not null" to create index

2017-11-01 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16235031#comment-16235031 ] Rick Hillegas commented on DERBY-2212: -- Can you describe your use case which is not s

[jira] [Commented] (DERBY-2212) Add "Unique where not null" to create index

2017-11-02 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16235856#comment-16235856 ] Buğra Gedik commented on DERBY-2212: Thanks for the info [~rhlrx]. Here is the problem

[jira] [Commented] (DERBY-2212) Add "Unique where not null" to create index

2017-11-02 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16237007#comment-16237007 ] Rick Hillegas commented on DERBY-2212: -- Right. The unique index treats NULL as a dist

[jira] [Commented] (DERBY-2212) Add "Unique where not null" to create index

2017-11-02 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16237024#comment-16237024 ] Buğra Gedik commented on DERBY-2212: I would have used it, but the constraint is being

[jira] [Commented] (DERBY-2212) Add "Unique where not null" to create index

2017-11-03 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16237348#comment-16237348 ] Oleksandr Alesinskyy commented on DERBY-2212: - Glad to see that a 10 years old

[jira] [Commented] (DERBY-2212) Add "Unique where not null" to create index

2017-11-03 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16238634#comment-16238634 ] Rick Hillegas commented on DERBY-2212: -- Yes, a unique constraint can be added after a

[jira] [Commented] (DERBY-2212) Add "Unique where not null" to create index

2017-11-03 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16238804#comment-16238804 ] Buğra Gedik commented on DERBY-2212: Thanks for the information. I'll check with Hiber

[jira] [Commented] (DERBY-2212) Add "Unique where not null" to create index

2017-11-04 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16239382#comment-16239382 ] Buğra Gedik commented on DERBY-2212: I filed https://hibernate.atlassian.net/browse/HH

[jira] [Commented] (DERBY-2212) Add "Unique where not null" to create index

2017-11-05 Thread Rick Hillegas (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16239587#comment-16239587 ] Rick Hillegas commented on DERBY-2212: -- Thanks! > Add "Unique where not null" to cre

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2008-01-24 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561977#action_12561977 ] Anurag Shekhar commented on DERBY-2212: --- I have created a seperate issue DERBY-3330 t

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-07-12 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512020 ] Anurag Shekhar commented on DERBY-2212: --- Description of this issue mentions two issues 1. allowing duplicate n

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-07-12 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512021 ] Anurag Shekhar commented on DERBY-2212: --- There was a mail thread about this issue some time back in developer m

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-07-12 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512186 ] Anurag Shekhar commented on DERBY-2212: --- One of the approach suggested in the previous discussion was to elimin

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-07-12 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512198 ] Oleksandr Alesinskyy commented on DERBY-2212: - Just for your information - Oracle implements this feature

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-07-12 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512231 ] Anurag Shekhar commented on DERBY-2212: --- Thanks Mike and Oleksandr for showing interest and inputs. >From your

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-07-12 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512238 ] Anurag Shekhar commented on DERBY-2212: --- SQL 2003 doesn't specifically talks about unique index but if we use

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-07-12 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512239 ] Anurag Shekhar commented on DERBY-2212: --- I tried the scenario you mentioned in postgresql here is the result i

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-07-13 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512383 ] Oleksandr Alesinskyy commented on DERBY-2212: - Oracle behavior: (null,null,null) vs (null,null,null) -

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-09-02 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524439 ] Anurag Shekhar commented on DERBY-2212: --- I am trying to add duplicate null in unique index by making null not

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-10 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533912 ] Øystein Grøvlen commented on DERBY-2212: Thanks for the patch, Anurag. Your approach to solving this seems O

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-11 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534035 ] Anurag Shekhar commented on DERBY-2212: --- thanks Øystein, for the review and trying out the patch. 1. I do not

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-16 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535221 ] Anurag Shekhar commented on DERBY-2212: --- >3. This code will not be executed for partial key matching. Hence, nu

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-16 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535226 ] Øystein Grøvlen commented on DERBY-2212: Anurag Shekhar (JIRA) wrote: > Partial key matching is used only for

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-17 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535435 ] Anurag Shekhar commented on DERBY-2212: --- thanks Mike for revisiting the issue. I felt letting the index remain

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-17 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535561 ] Anurag Shekhar commented on DERBY-2212: --- 1) Current code changes B2I so needs upgrade code or else no old datab

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-18 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535908 ] Øystein Grøvlen commented on DERBY-2212: I agree with Mike that it seems a bit complicated an error prone to

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-18 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535982 ] Oleksandr Alesinskyy commented on DERBY-2212: - I'm original reporter :) DB2-like approach I have suggest

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-18 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536039 ] Øystein Grøvlen commented on DERBY-2212: To my previous comment: I was rather confused when I asked whether w

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-19 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536362 ] Øystein Grøvlen commented on DERBY-2212: I do not see how changing the existing create unique index command t

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-19 Thread Daniel John Debrunner (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536255 ] Daniel John Debrunner commented on DERBY-2212: -- I would recommend implementing the SQL standard behaviou

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-19 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536195 ] Oleksandr Alesinskyy commented on DERBY-2212: - I guess to change behaviour of existing unique indexes/con

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-19 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536184 ] Øystein Grøvlen commented on DERBY-2212: My previous comment assumed that creation is done in a more efficien

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-19 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536186 ] Anurag Shekhar commented on DERBY-2212: --- Thanks Mike for the detailed input. I will be attaching a functional s

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-19 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536178 ] Oleksandr Alesinskyy commented on DERBY-2212: - Hello Mike, concerning index and unique constraints - I d

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-19 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536165 ] Øystein Grøvlen commented on DERBY-2212: Thank you Mike for taking the time to write down your clear thoughts

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-19 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536278 ] Oleksandr Alesinskyy commented on DERBY-2212: - Keeping backward compatibility in this case shall be of mu

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-21 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536515 ] Oleksandr Alesinskyy commented on DERBY-2212: - I may agree as far as we are speaking about single-column

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-23 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536931 ] Oleksandr Alesinskyy commented on DERBY-2212: - Yes, unique constraint is not the same thing as unique ind

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-23 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12536960 ] Øystein Grøvlen commented on DERBY-2212: I agree that we should try to avoid incompatibilities with older rel

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-23 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537001 ] Oleksandr Alesinskyy commented on DERBY-2212: - To avoid user confusions current syntax should retain exis

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-24 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537281 ] Anurag Shekhar commented on DERBY-2212: --- thanks Mike for the comments. I will update the functional spec and up

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-26 Thread Kathey Marsden (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538040 ] Kathey Marsden commented on DERBY-2212: --- I have not been following this conversation in detail but did look at

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-26 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538063 ] Oleksandr Alesinskyy commented on DERBY-2212: - This change not "would" but "may" introduce incompatibilit

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-31 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539048 ] Oleksandr Alesinskyy commented on DERBY-2212: - New version of specification looks much better, but still

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-10-31 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539050 ] Øystein Grøvlen commented on DERBY-2212: Thanks for the new version of the func spec, Anurag. In this versio

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-11-02 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539841 ] Anurag Shekhar commented on DERBY-2212: --- thanks Øystein, for the review and trying out the patch. 1. I do

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-11-07 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540704 ] Anurag Shekhar commented on DERBY-2212: --- sorry about the duplicate comment. Initially I had added the comment b

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-11-07 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540705 ] Anurag Shekhar commented on DERBY-2212: --- thanks Oleksandr and Øystein for the feed back. In this new version I

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-11-07 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540728 ] Oleksandr Alesinskyy commented on DERBY-2212: - Anurag, There are still hordes of typos (both in the func

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-11-07 Thread Anurag Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540822 ] Anurag Shekhar commented on DERBY-2212: --- >In my opinion ithe functional specification must point that for time

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-11-20 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543859 ] Oleksandr Alesinskyy commented on DERBY-2212: - >functional spec shouldn't have any reference index specia

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-11-20 Thread Oleksandr Alesinskyy (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544013 ] Oleksandr Alesinskyy commented on DERBY-2212: - Initial request (filed by me) was to allow "unique when no

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2007-11-22 Thread JIRA
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544809 ] Øystein Grøvlen commented on DERBY-2212: Thanks, for the updated func spec, Anurag. I agree with the others

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2008-12-19 Thread Uwe Kubosch (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658210#action_12658210 ] Uwe Kubosch commented on DERBY-2212: I have reread the previous comment a dozen times,

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2008-12-22 Thread Knut Anders Hatlen (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658480#action_12658480 ] Knut Anders Hatlen commented on DERBY-2212: --- Uwe, You can create such a constrai

[jira] Commented: (DERBY-2212) Add "Unique where not null" to create index

2008-12-22 Thread Uwe Kubosch (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658489#action_12658489 ] Uwe Kubosch commented on DERBY-2212: Thank you for the example! That helps a lot! I s