calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sameh Samra <>
Subject Fwd: change SQL after parsing
Date Thu, 03 Dec 2015 11:19:18 GMT
Was this email  lost?
I can't find it in your archive

From: Sameh Samra <>
Date: Fri, Nov 27, 2015 at 3:45 PM
Subject: change SQL after parsing

Calcite parser parses select statement to SqlSelect class which gives
ability to set (selectList/ from/ where) clauses. While I was looking for
examples I found this message (Parsing SQL) by Renato MarroquĂ­n Mogrovejo
in February 2015 archive
Moreover, your reply was there are multiple ways to modify sql after

Actually, I want to edit sql queries by:
  1- adding some conditions in where clause.
  2- adding a table to from clause.

Our queries have some little bit complication; that means nested,
sub-queries and union. Further, we want to add the modifications in a
certain parts.

Are there other methods better than using SqlSelect class?

Thank you in advance


ENG : Sameh Aly Abo Samra
Computer & System Engineer

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message