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

CQL3: cqlsh exception running "describe schema"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.3
    • Legacy/Tools
    • Low

    Description

      cqlsh> describe schema;
      
      CREATE KEYSPACE system WITH strategy_class = 'LocalStrategy';
      
      USE system;
      
      Traceback (most recent call last):
        File "./cqlsh", line 811, in onecmd
          self.handle_statement(st, statementtext)
        File "./cqlsh", line 839, in handle_statement
          return custom_handler(parsed)
        File "./cqlsh", line 1329, in do_describe
          self.describe_schema()
        File "./cqlsh", line 1264, in describe_schema
          self.print_recreate_keyspace(k, sys.stdout)
        File "./cqlsh", line 1091, in print_recreate_keyspace
          self.print_recreate_columnfamily(ksname, cf.name, out)
        File "./cqlsh", line 1114, in print_recreate_columnfamily
          layout = self.get_columnfamily_layout(ksname, cfname)
        File "./cqlsh", line 706, in get_columnfamily_layout
          layout = self.fetchdict()
        File "./cqlsh", line 605, in fetchdict
          return dict(zip([d[0] for d in desc], row))
      TypeError: 'NoneType' object is not iterable
      

      Attachments

        Activity

          People

            thepaul paul cannon
            cdaw Cathy Daw
            paul cannon
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: