[jira] [Updated] (CASSANDRA-16898) The clustering order logic in Materialized view creation changed in 4.0

2021-08-31 Thread Benjamin Lerer (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-16898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Lerer updated CASSANDRA-16898:
---
  Fix Version/s: (was: 4.0.x)
 4.0.2
  Since Version: 4.0-rc1
Source Control Link: 
https://github.com/apache/cassandra/commit/af17f136e58910fa23f1b8c6b8f13de62787e823
 Resolution: Fixed
 Status: Resolved  (was: Ready to Commit)

Committed into cassandra-4.0 at af17f136e58910fa23f1b8c6b8f13de62787e823 and 
merged into trunk

> The clustering order logic in Materialized view creation changed in 4.0
> ---
>
> Key: CASSANDRA-16898
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16898
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Materialized Views
>Reporter: Benjamin Lerer
>Assignee: Benjamin Lerer
>Priority: Normal
> Fix For: 4.0.2
>
>
> Before 4.0, when a Materialized view was created with no {{CLUSTERING ORDER}} 
> specified the clustering order was based on the base table clustering order 
> (see [3.11 
> code|https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/cql3/statements/CreateViewStatement.java#L108]).
>  In 4.0 this behaviour changed and the clustering order was defaulted to ASC 
> for all columns. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16898) The clustering order logic in Materialized view creation changed in 4.0

2021-08-30 Thread Zhao Yang (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-16898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhao Yang updated CASSANDRA-16898:
--
Status: Ready to Commit  (was: Review In Progress)

LGTM, thanks for the fix

> The clustering order logic in Materialized view creation changed in 4.0
> ---
>
> Key: CASSANDRA-16898
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16898
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Materialized Views
>Reporter: Benjamin Lerer
>Assignee: Benjamin Lerer
>Priority: Normal
> Fix For: 4.0.x
>
>
> Before 4.0, when a Materialized view was created with no {{CLUSTERING ORDER}} 
> specified the clustering order was based on the base table clustering order 
> (see [3.11 
> code|https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/cql3/statements/CreateViewStatement.java#L108]).
>  In 4.0 this behaviour changed and the clustering order was defaulted to ASC 
> for all columns. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16898) The clustering order logic in Materialized view creation changed in 4.0

2021-08-30 Thread Zhao Yang (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-16898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhao Yang updated CASSANDRA-16898:
--
Reviewers: Zhao Yang, Zhao Yang  (was: Zhao Yang)
   Zhao Yang, Zhao Yang  (was: Zhao Yang)
   Status: Review In Progress  (was: Patch Available)

> The clustering order logic in Materialized view creation changed in 4.0
> ---
>
> Key: CASSANDRA-16898
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16898
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Materialized Views
>Reporter: Benjamin Lerer
>Assignee: Benjamin Lerer
>Priority: Normal
> Fix For: 4.0.x
>
>
> Before 4.0, when a Materialized view was created with no {{CLUSTERING ORDER}} 
> specified the clustering order was based on the base table clustering order 
> (see [3.11 
> code|https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/cql3/statements/CreateViewStatement.java#L108]).
>  In 4.0 this behaviour changed and the clustering order was defaulted to ASC 
> for all columns. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16898) The clustering order logic in Materialized view creation changed in 4.0

2021-08-30 Thread Zhao Yang (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-16898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhao Yang updated CASSANDRA-16898:
--
Reviewers: Zhao Yang

> The clustering order logic in Materialized view creation changed in 4.0
> ---
>
> Key: CASSANDRA-16898
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16898
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Materialized Views
>Reporter: Benjamin Lerer
>Assignee: Benjamin Lerer
>Priority: Normal
> Fix For: 4.0.x
>
>
> Before 4.0, when a Materialized view was created with no {{CLUSTERING ORDER}} 
> specified the clustering order was based on the base table clustering order 
> (see [3.11 
> code|https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/cql3/statements/CreateViewStatement.java#L108]).
>  In 4.0 this behaviour changed and the clustering order was defaulted to ASC 
> for all columns. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16898) The clustering order logic in Materialized view creation changed in 4.0

2021-08-30 Thread Benjamin Lerer (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-16898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Lerer updated CASSANDRA-16898:
---
Test and Documentation Plan: The patch add additional unit tests
 Status: Patch Available  (was: Open)

> The clustering order logic in Materialized view creation changed in 4.0
> ---
>
> Key: CASSANDRA-16898
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16898
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Materialized Views
>Reporter: Benjamin Lerer
>Assignee: Benjamin Lerer
>Priority: Normal
> Fix For: 4.0.x
>
>
> Before 4.0, when a Materialized view was created with no {{CLUSTERING ORDER}} 
> specified the clustering order was based on the base table clustering order 
> (see [3.11 
> code|https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/cql3/statements/CreateViewStatement.java#L108]).
>  In 4.0 this behaviour changed and the clustering order was defaulted to ASC 
> for all columns. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16898) The clustering order logic in Materialized view creation changed in 4.0

2021-08-30 Thread Benjamin Lerer (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-16898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Lerer updated CASSANDRA-16898:
---
 Bug Category: Parent values: Correctness(12982)
   Complexity: Low Hanging Fruit
Discovered By: Unit Test
Fix Version/s: 4.0.x
 Severity: Low
   Status: Open  (was: Triage Needed)

> The clustering order logic in Materialized view creation changed in 4.0
> ---
>
> Key: CASSANDRA-16898
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16898
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Materialized Views
>Reporter: Benjamin Lerer
>Assignee: Benjamin Lerer
>Priority: Normal
> Fix For: 4.0.x
>
>
> Before 4.0, when a Materialized view was created with no {{CLUSTERING ORDER}} 
> specified the clustering order was based on the base table clustering order 
> (see [3.11 
> code|https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/cql3/statements/CreateViewStatement.java#L108]).
>  In 4.0 this behaviour changed and the clustering order was defaulted to ASC 
> for all columns. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-16898) The clustering order logic in Materialized view creation changed in 4.0

2021-08-30 Thread Benjamin Lerer (Jira)


 [ 
https://issues.apache.org/jira/browse/CASSANDRA-16898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Lerer updated CASSANDRA-16898:
---
Description: Before 4.0, when a Materialized view was created with no 
{{CLUSTERING ORDER}} specified the clustering order was based on the base table 
clustering order (see [3.11 
code|https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/cql3/statements/CreateViewStatement.java#L108]).
 In 4.0 this behaviour changed and the clustering order was defaulted to ASC 
for all columns.   (was: Before 4.0, when a Materialized view was created with 
no {{CLUSTERING ORDER}} specified the clustering order was based on the base 
table clustering order see[3.11 
code|https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/cql3/statements/CreateViewStatement.java#L108].
 In 4.0 this behaviour changed and the clustering order was defaulted to ASC 
for all columns. )

> The clustering order logic in Materialized view creation changed in 4.0
> ---
>
> Key: CASSANDRA-16898
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16898
> Project: Cassandra
>  Issue Type: Bug
>  Components: Feature/Materialized Views
>Reporter: Benjamin Lerer
>Assignee: Benjamin Lerer
>Priority: Normal
>
> Before 4.0, when a Materialized view was created with no {{CLUSTERING ORDER}} 
> specified the clustering order was based on the base table clustering order 
> (see [3.11 
> code|https://github.com/apache/cassandra/blob/cassandra-3.11/src/java/org/apache/cassandra/cql3/statements/CreateViewStatement.java#L108]).
>  In 4.0 this behaviour changed and the clustering order was defaulted to ASC 
> for all columns. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org