Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4170

cql3 ALTER TABLE ALTER TYPE has no effect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.1.0
    • Legacy/CQL
    • Normal

    Description

      running the following with cql3:

      CREATE TABLE test (foo text PRIMARY KEY, bar int);
      ALTER TABLE test ALTER bar TYPE float;
      

      does not actually change the column type of bar. It does under cql2.

      Note that on the current cassandra-1.1.0 HEAD, this causes an NPE, fixed by CASSANDRA-4163. But even with that applied, the ALTER shown here has no effect.

      Attachments

        1. 4170.txt
          1 kB
          Sylvain Lebresne

        Activity

          People

            slebresne Sylvain Lebresne
            thepaul paul cannon
            Sylvain Lebresne
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: