This is an automated email from the ASF dual-hosted git repository.

chrisdutz pushed a change to branch feature/postgresql-wire-protocol
in repository https://gitbox.apache.org/repos/asf/iotdb.git


    from 6870a16a549 Record Power BI's SQL and answer 
information_schema.character_sets
     add 031b7b3c3a3 Address the review of the PostgreSQL service

No new revisions were added by this update.

Summary of changes:
 external-service-impl/postgresql/pom.xml           |   4 +
 .../iotdb/postgresql/i18n/PostgreSqlMessages.java  | 110 +++++++++++++++
 .../iotdb/postgresql/i18n/PostgreSqlMessages.java  | 110 +++++++++++++++
 .../apache/iotdb/postgresql/PostgreSqlService.java |  94 ++++++++-----
 .../iotdb/postgresql/catalog/CatalogSnapshot.java  |   5 +-
 .../postgresql/catalog/PgCatalogExtension.java     |  16 +++
 .../iotdb/postgresql/execution/ResultCursor.java   |  36 ++++-
 .../iotdb/postgresql/execution/RunningQuery.java   |   3 +-
 .../iotdb/postgresql/protocol/PgFrameDecoder.java  |   9 ++
 .../apache/iotdb/postgresql/protocol/SqlState.java |   1 +
 .../postgresql/server/PgConnectionHandler.java     |  45 ++++++-
 .../apache/iotdb/postgresql/server/PgServer.java   |  14 +-
 .../iotdb/postgresql/server/SerialExecutor.java    |   9 +-
 .../apache/iotdb/postgresql/server/TlsPolicy.java  |   7 +-
 .../iotdb/postgresql/session/PgTimeZones.java      |  76 +++++++++++
 .../iotdb/postgresql/session/SessionCommands.java  |  29 ++--
 .../iotdb/postgresql/session/SqlProtocol.java      | 150 ++++++++++++++++++---
 .../iotdb/postgresql/session/StatementTimeout.java |   7 +-
 .../iotdb/postgresql/sql/ConstructCheck.java       |   8 +-
 .../iotdb/postgresql/sql/EmptyRelations.java       |   7 +-
 .../iotdb/postgresql/sql/OuterConditions.java      |   5 +-
 .../apache/iotdb/postgresql/sql/PgToTableSql.java  |  56 ++++++--
 .../iotdb/postgresql/sql/StringLiterals.java       | 109 +++++++++++----
 .../iotdb/postgresql/types/ParameterDecoder.java   |  12 +-
 .../iotdb/postgresql/types/PgValueEncoder.java     |   8 +-
 .../iotdb/postgresql/server/StartupTest.java       |  17 +++
 .../iotdb/postgresql/session/PgTimeZonesTest.java  |  59 ++++++++
 .../postgresql/session/SessionCommandsTest.java    |  69 ++++++++++
 .../iotdb/postgresql/sql/PgToTableSqlTest.java     |  31 ++++-
 .../test/resources/corpus/expected/pgjdbc/3.sql    |   2 +-
 .../test/resources/corpus/expected/pgjdbc/4.sql    |   2 +-
 .../test/resources/corpus/expected/powerbi/40.sql  |   2 +-
 .../test/resources/corpus/expected/powerbi/8.sql   |   2 +-
 .../postgresql/it/IoTDBPostgreSqlClientsIT.java    |  81 +++++++++++
 .../apache/iotdb/db/i18n/DataNodeMiscMessages.java |   3 +
 .../apache/iotdb/db/i18n/DataNodeMiscMessages.java |   3 +
 .../iotdb/db/protocol/session/SessionManager.java  |  19 +++
 .../InformationSchemaContentSupplierFactory.java   |   2 +
 .../plan/relational/analyzer/Analysis.java         |  24 +++-
 .../plan/relational/analyzer/Analyzer.java         |   1 +
 .../plan/relational/planner/RelationPlanner.java   |   3 +
 .../schemaengine/table/InformationSchemaUtils.java |   6 +-
 .../ExternalServiceManagementService.java          |  17 ++-
 .../analyzer/AnalysisHighestPriorityTest.java      |  21 ++-
 .../commons/queryengine/common/SessionInfo.java    |  14 ++
 .../commons/schema/table/InformationSchema.java    |  27 ++++
 46 files changed, 1196 insertions(+), 139 deletions(-)
 create mode 100644 
external-service-impl/postgresql/src/main/i18n/en/org/apache/iotdb/postgresql/i18n/PostgreSqlMessages.java
 create mode 100644 
external-service-impl/postgresql/src/main/i18n/zh/org/apache/iotdb/postgresql/i18n/PostgreSqlMessages.java
 create mode 100644 
external-service-impl/postgresql/src/main/java/org/apache/iotdb/postgresql/session/PgTimeZones.java
 create mode 100644 
external-service-impl/postgresql/src/test/java/org/apache/iotdb/postgresql/session/PgTimeZonesTest.java
 create mode 100644 
external-service-impl/postgresql/src/test/java/org/apache/iotdb/postgresql/session/SessionCommandsTest.java

Reply via email to