Github user zznate commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/205#discussion_r173966104
  
    --- Diff: src/java/org/apache/cassandra/schema/TableMetadata.java ---
    @@ -141,6 +147,15 @@ private TableMetadata(Builder builder)
             params = builder.params.build();
             isView = builder.isView;
     
    +        isVirtual = builder.isVirtual;
    +        if (isVirtual)
    +            virtualKlass = builder.virtualKlass;
    +        else
    +            virtualKlass = null;
    +
    +        assert isVirtual == flags.contains(Flag.VIRTUAL) || 
!Strings.isNullOrEmpty(virtualKlass) && !flags.contains(Flag.VIRTUAL)
    --- End diff --
    
    Same as above w. the asserts. Let's just draw a line in the sand and stop 
doing this. 


---

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

Reply via email to