Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5820

Add PARSE_URL function (enabled in Hive and Spark library)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.34.0
    • 1.36.0
    • core

    Description

      Add PARSE_URL (enabled in Hive and Spark library):

      PARSE_URL: Returns the specified part from the URL. Valid values for partToExtract include HOST, PATH, QUERY, REF, PROTOCOL, AUTHORITY, FILE, and USERINFO.

      For example, parse_url('http://facebook.com/path1/p.php?k1=v1&k2=v2#Ref1', 'HOST') returns 'facebook.com'.

      See more details in Hive and Spark doc.

      Attachments

        Issue Links

          Activity

            People

              Runking Runkang He
              Runking Runkang He
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: