chunweilei commented on a change in pull request #1173: [CALCITE-3006] Example 
code on site cannot compile
URL: https://github.com/apache/calcite/pull/1173#discussion_r276516388
 
 

 ##########
 File path: site/_docs/index.md
 ##########
 @@ -50,8 +50,7 @@ Connection connection =
 CalciteConnection calciteConnection =
     connection.unwrap(CalciteConnection.class);
 SchemaPlus rootSchema = calciteConnection.getRootSchema();
-Schema schema = ReflectiveSchema.create(calciteConnection,
-    rootSchema, "hr", new HrSchema());
+Schema schema = new ReflectiveSchema(new HrSchema());
 
 Review comment:
   Done. Thanks a lot.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to