LeiRui opened a new pull request #383: Add more partition file tests in spark-tsfile-connector URL: https://github.com/apache/incubator-iotdb/pull/383 After reviewing pr#303 (transform old form to new form and use a parameter to control), I want to improve the spark-tsfile-connector module with this pr. I did three things: - add more tests for partition file cases in the TsFileSuit. Thank @SilverNarcissus for making this possible. - polish codes - in DefaultSource.builderReader: move queriedSchema behind because narrow table does not use it - in DefaultSource.builderReader: remove the queryNext() in next() function because hasNext() has done the job - in DefaultSource and two converters: change in.close() to readTsFile.close() and reader.close() respectively - code format because some codes from pr#303 are not formatted using java-google-style.
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services