nryanov opened a new pull request, #4396:
URL: https://github.com/apache/amoro/pull/4396

   <!--
   Thanks for sending a pull request!
   
   Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: 
https://amoro.apache.org/how-to-contribute/
     2. If the PR is related to an issue in 
https://github.com/apache/amoro/issues, add '[AMORO-XXXX]' in your PR title, 
e.g., '[AMORO-XXXX] Your PR title ...'.
     3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., 
'[WIP][AMORO-XXXX] Your PR title ...'.
   -->
   
   ## Why are the changes needed?
   <!--
   Please clarify why the changes are needed. For instance,
     1. If you add a feature, you can talk about its use case.
     2. If you fix a bug, you can clarify why it is a bug.
     3. Use Fix/Resolve/Close #{ISSUE_NUMBER} to link this PR to its related 
issue
   -->
   
   Minor bugfix to make it possible to run amoro with Postgres as a backend 
RDBSM. Currently during start and initial sql migration i got errors:
   ```
   Error executing: COMMENT ON COLUMN service_name IS 'Service name 
(AMS/TABLE_SERVICE/OPTIMIZING_SERVICE)'
   .  Cause: org.postgresql.util.PSQLException: ERROR: column name must be 
qualified
   Error executing: COMMENT ON COLUMN node_id IS 'Unique node identifier 
(host:port:uuid)'
   .  Cause: org.postgresql.util.PSQLException: ERROR: current transaction is 
aborted, commands ignored until end of transaction block
   Error executing: COMMENT ON COLUMN node_ip IS 'Node IP address'
   .  Cause: org.postgresql.util.PSQLException: ERROR: current transaction is 
aborted, commands ignored until end of transaction block
   Error executing: COMMENT ON COLUMN server_info_json IS 'JSON encoded server 
info (AmsServerInfo)'
   .  Cause: org.postgresql.util.PSQLException: ERROR: current transaction is 
aborted, commands ignored until end of transaction block
   Error executing: COMMENT ON COLUMN lease_expire_ts IS 'Lease expiration 
timestamp (ms since epoch)'
   .  Cause: org.postgresql.util.PSQLException: ERROR: current transaction is 
aborted, commands ignored until end of transaction block
   Error executing: COMMENT ON COLUMN version IS 'Optimistic lock version of 
the lease row'
   .  Cause: org.postgresql.util.PSQLException: ERROR: current transaction is 
aborted, commands ignored until end of transaction block
   Error executing: COMMENT ON COLUMN updated_at IS 'Last update timestamp (ms 
since epoch)'
   .  Cause: org.postgresql.util.PSQLException: ERROR: current transaction is 
aborted, commands ignored until end of transaction block
   ``` 
   
   ## Brief change log
   <!--
   Clearly describe the changes made in modules, classes, methods, etc.
   -->
   
   Explicit table name specification in `COMMENT` command in the postgres init 
script.
   
   ## How was this patch tested?
   Tested locally
   
   ## Documentation
   No new feature
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to