Skip to content
Snippets Groups Projects
  1. Mar 05, 2019
  2. Sep 08, 2017
    • gmantele's avatar
      [ADQL] Fix the transformation of NATURAL JOIN and JOIN...USING of MS-SQLServer. · e03e5725
      gmantele authored
      In the resulting SQL query, if there are an alias on the joined tables, these
      aliases must be used in the ON clause (instead of the full table name).
      
      For instance, the following ADQL query:
      
      ```sql
        SELECT *
        FROM tableA AS a NATURAL JOIN tableB AS b;
      ```
      
      should be translated into the following SQL:
      
      ```sql
        SELECT *
        FROM tableA AS a
          INNER JOIN tableB AS b
            ON a.id = b.id
      ```
      
      This commit complete the resolution of the Pull Request #16
      (more details about the issue can be got in there)
      e03e5725
    • gmantele's avatar
      [ADQL] Fix return type of some math. functions for MS-SQLServer. · 73630130
      gmantele authored
      In MS-SQLServer, the following functions return a value of the same
      type as the given argument:
        - abs
        - ceiling
        - degrees
        - floor
        - radians
        - round.
      
      Since ADQL requires that these functions return a DOUBLE
      (i.e. a float in MS-SQLServer), it must be ensured that the given
      argument is a float.
      
      This commit partially fixes the Pull Request #16
      73630130
  3. Mar 29, 2017
  4. Feb 09, 2017
  5. Oct 12, 2016
  6. Jun 08, 2016
  7. Mar 17, 2016
    • gmantele's avatar
      [ADQL] Add an ADQL translator for MS SQL Server. This particular translator · a2fb29ad
      gmantele authored
      deals with NATURAL JOINs and JOINs using the keyword USING so that being
      supported by SQL Server. Basically, they are translated as a list of ON
      conditions.
      Warning: This translator is just guaranteed to solve the NATURAL and USING
      issue. Support for datatypes conversion and case sensitivity has to be
      reviewed. Besides no geometrical function is translated for SQL Server.
      a2fb29ad
Loading