You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "azexcy (via GitHub)" <gi...@apache.org> on 2023/11/15 14:10:40 UTC

[I] ShardingSphere-Proxy does not correctly display bytea 0001 value for openGauss [shardingsphere]

azexcy opened a new issue, #29045:
URL: https://github.com/apache/shardingsphere/issues/29045

   ## Bug Report
   
   The value of openGauss's bytea is not null, cannot be displayed correctly on ShardingSphere-Proxy.
   
   example, execute below sql at Proxy.
   
   ```
   sharding_db=> INSERT INTO mytable (testcol) VALUES (decode('01', 'hex'));
   INSERT 0 1
   sharding_db=> select * from mytable;                                     
    testcol 
   ---------
    \x01
   (1 row)
   
   sharding_db=> INSERT INTO mytable (testcol) VALUES (decode('0001', 'hex'));
   INSERT 0 1
   sharding_db=> select testcol from mytable;
    testcol 
   ---------
    \x01
    
   (2 rows)
   
   sharding_db=> select encode(testcol, 'hex') from mytable;
    encode 
   --------
    01
    0001
   (2 rows)
   
   sharding_db=>
   ```
   
   `select testcol from mytable;` and ` select encode(testcol, 'hex') from mytable;` is different
   
   ![image](https://github.com/apache/shardingsphere/assets/101622833/6b83dc12-d957-4334-86d8-7f6095ac5b4c)
   
   
   ### Which version of ShardingSphere did you use?
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ### Expected behavior
   
   ### Actual behavior
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ShardingSphere-Proxy does not correctly display bytea 0001 value for openGauss [shardingsphere]

Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu closed issue #29045: ShardingSphere-Proxy does not correctly display bytea 0001 value for openGauss
URL: https://github.com/apache/shardingsphere/issues/29045


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ShardingSphere-Proxy does not correctly display bytea 0001 value for openGauss [shardingsphere]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #29045:
URL: https://github.com/apache/shardingsphere/issues/29045#issuecomment-1858919918

   There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ShardingSphere-Proxy does not correctly display bytea 0001 value for openGauss [shardingsphere]

Posted by "terrymanu (via GitHub)" <gi...@apache.org>.
terrymanu commented on issue #29045:
URL: https://github.com/apache/shardingsphere/issues/29045#issuecomment-3677957638

   Same problem with #37238


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org