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

validation is inefficient

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.0 rc 3
    • None
    • None

    Description

      We do all validation by simply calling AbstractType.getString(). This generates garbage needlessly and has a lot of overhead.

      A simpler interface would be to make AbstractType.validate abstract and have the child classes implement it in an intelligent and efficient way.

      EDIT: Somewhat related: It looks like we're attempting to validate column names in ThriftValidation.validateColumns(). Is this intentional? Nevermind that part. I get it.

      Attachments

        Activity

          People

            gdusbabek Gary Dusbabek
            gdusbabek Gary Dusbabek
            Gary Dusbabek
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: