Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: SQL
    • Labels:
      None

      Description

      SQL defines standard ways to get number of characters and octets. SQL reference: section 6.28. Example:
      vagrant=# select character_length('欲速则不达');
      character_length
      ------------------
      5
      (1 row)

      vagrant=# select octet_length('欲速则不达');
      octet_length
      --------------
      15
      (1 row)

        Attachments

        1. HIVE-15979.1.patch
          31 kB
          Teddy Choi
        2. HIVE-15979.2.patch
          75 kB
          Teddy Choi
        3. HIVE-15979.3.patch
          113 kB
          Teddy Choi
        4. HIVE-15979.4.patch
          64 kB
          Teddy Choi
        5. HIVE-15979.5.patch
          64 kB
          Teddy Choi
        6. HIVE-15979.6.patch
          81 kB
          Teddy Choi
        7. HIVE-15979.7.patch
          82 kB
          Teddy Choi

          Issue Links

            Activity

              People

              • Assignee:
                teddy.choi Teddy Choi
                Reporter:
                cartershanklin Carter Shanklin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: