ostinru commented on PR #25:
URL: https://github.com/apache/cloudberry-pxf/pull/25#issuecomment-3753486873

   Adding context - what we are fixing here. Before this patch there were 
following error in `cloudberry-pxf/external-table/results/pxf.out`
   ```
   ------------------------------------------------------------------
   -- PXF write test
   ------------------------------------------------------------------
   \!rm -rf /tmp/pxf
   INSERT INTO pxf_write_test SELECT * from origin;
   ERROR:  PXF server error : Unexpected record format, expected 1 field, found 
2  (seg0 172.19.0.3:7002 pid=23746)
   HINT:  Check the PXF logs located in the '/home/gpadmin/pxf-base/logs' 
directory on host 'localhost' or 'set client_min_messages=LOG' for additional 
details.
   ```
   
   And PXF logs from `/home/gpadmin/pxf-base/logs/pxf-service.log`
   ```
   java.lang.Exception: Unexpected record format, expected 1 field, found 2
           at 
org.greenplum.pxf.api.examples.DemoTextResolver.setFields(DemoTextResolver.java:63)
 ~[pxf-api-1.0.0.jar!/:?]
           at 
org.greenplum.pxf.service.bridge.WriteBridge.setNext(WriteBridge.java:91) 
~[classes!/:1.0.0]
           at 
org.greenplum.pxf.service.controller.WriteServiceImpl.readStream(WriteServiceImpl.java:67)
 ~[classes!/:1.0.0]
           at 
org.greenplum.pxf.service.controller.WriteServiceImpl.lambda$writeData$0(WriteServiceImpl.java:40)
 ~[classes!/:1.0.0]
           at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
           at javax.security.auth.Subject.doAs(Subject.java:361) ~[?:?]
   ```


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to