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

cqlsh: Fix column name formatting for functions, [applied], udt fields

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1.0
    • Legacy/Tools
    • None
    • Low

    Description

      cqlsh is using the python driver's default row factory (named_tuple_factory) which can change result column names to make valid python identifiers. Instead, cqlsh should use ordered_dict_factory so that the original result column names are preserved (and so is the ordering).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            thobbs Tom Hobbs Assign to me
            thobbs Tom Hobbs
            Tom Hobbs
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment