sunjincheng121 edited a comment on pull request #161:
URL: https://github.com/apache/calcite-avatica/pull/161#issuecomment-962527969


   > Thanks. I think the changes are good, however would you please adjust test 
data to fix test failures?
   ```
   FAILURE   1.1sec, org.apache.calcite.test.ServerQuidemTest > 
test(String)[5], [5] sql/schema.iq
       org.opentest4j.AssertionFailedError: Files differ: 
/home/runner/work/calcite-avatica/calcite/server/build/resources/test/sql/surefire/sql/schema.iq
 
/home/runner/work/calcite-avatica/calcite/server/build/resources/test/sql/schema.iq
       69c69,229
       < Property 'com.example.BadSchemaFactory' not valid for plugin type 
org.apache.calcite.schema.SchemaFactory
       ---
       > java.sql.SQLException: Error while executing SQL "create foreign 
schema fs library 'com.example.BadSchemaFactory'": Property 
'com.example.BadSchemaFactory' not valid as 'com.example.BadSchemaFactory' not 
found in the classpath
   ```
   Thanks for your feedback @vlsi 
   The test failure is caused by the follows two files:
   - 
[org.apache.calcite.test.ServerQuidemTest](https://github.com/apache/calcite/blob/master/server/src/test/java/org/apache/calcite/test/ServerQuidemTest.java)
   - 
[resources/test/sql/schema.iq](https://github.com/apache/calcite/blob/master/server/src/test/resources/sql/schema.iq)
   
   the location of those two file are in the calcite project, i.e. the root 
cause of the test failure is due to interdependence between the calcite project 
and the current calcite-avatica project. After the the PR ( 
https://github.com/apache/calcite/pull/2600 ) merged, the error will be solved 
automatically. What do you think?
   
   If there is any thing with my understanding, please correct me. Thank you 
@vlsi 
   
   


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