Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-37895

Error while joining two tables with non-english field names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.0, 3.3.0
    • 3.3.0
    • SQL
    • None

    Description

      While trying to join two tables with non-english field names in postgresql with query like
      "select view1.`Имя1` , view1.`Имя2`, view2.`Имя3` from view1 left join  view2 on view1.`Имя2`=view2.`Имя4`"
      we get an error which says that there is no field "`Имя4`" (field name is surrounded by backticks).
      It appears that to get the data from the second table it constructs query like
      SELECT "Имя3","Имя4" FROM "public"."tab2"  WHERE ("`Имя4`" IS NOT NULL) 
      and these backticks are redundant in WHERE clause.

      Attachments

        Activity

          People

            planga82 Pablo Langa Blanco
            mkrasilnikova Marina Krasilnikova
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: