GitHub user xubo245 opened a pull request:
https://github.com/apache/carbondata/pull/2336 [CARBONDATA-2521] Support create carbonReader without tableName Add new method for creating carbonReader without tableName Be sure to do all of the following checklist to help us incorporate your contribution quickly and easily: - [ ] Any interfaces changed? No - [ ] Any backward compatibility impacted? NA - [ ] Document update required? No - [ ] Testing done Please provide details on - Whether new unit test cases have been added or why no new tests are required? - How it is tested? Please attach test report. - Is it a performance related change? Please attach the performance test report. - Any additional information to help reviewers in testing this change. Add some test case - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. No You can merge this pull request into a Git repository by running: $ git pull https://github.com/xubo245/carbondata CARBONDATA-2521-supportReaderWithoutTableName Alternatively you can review and apply these changes as the patch at: https://github.com/apache/carbondata/pull/2336.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2336 ---- commit 80b4c9a724513d79439cbfcba62605648a4b5450 Author: xubo245 <xubo29@...> Date: 2018-05-23T13:08:23Z [CARBONDATA-2521] Support create carbonReader without tableName ---- --- |
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2336 Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/6074/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2336 Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/4914/ --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/2336 SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/5075/ --- |
In reply to this post by qiuchenjian-2
Github user xubo245 commented on the issue:
https://github.com/apache/carbondata/pull/2336 retest this please --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2336 Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/6079/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2336 Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/4919/ --- |
In reply to this post by qiuchenjian-2
Github user xubo245 commented on the issue:
https://github.com/apache/carbondata/pull/2336 retest this please --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2336 Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/6086/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2336 Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/4929/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2336 Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/6090/ --- |
In reply to this post by qiuchenjian-2
Github user xubo245 commented on the issue:
https://github.com/apache/carbondata/pull/2336 @sounakr @jackylk @ravipesala Please review it. --- |
In reply to this post by qiuchenjian-2
Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2336#discussion_r191328076 --- Diff: store/sdk/src/main/java/org/apache/carbondata/sdk/file/CarbonReader.java --- @@ -88,6 +89,14 @@ public static CarbonReaderBuilder builder(String tablePath, String tableName) { return new CarbonReaderBuilder(tablePath, tableName); } + /** + * Return a new {@link CarbonReaderBuilder} instance + */ + public static CarbonReaderBuilder builder(String tablePath) { + String uniqueName = "_temp" + UUID.randomUUID().toString(); --- End diff -- Suggest to use a more meaningful name, like `s"table@$tablePath"` --- |
In reply to this post by qiuchenjian-2
Github user xubo245 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2336#discussion_r191691800 --- Diff: store/sdk/src/main/java/org/apache/carbondata/sdk/file/CarbonReader.java --- @@ -88,6 +89,14 @@ public static CarbonReaderBuilder builder(String tablePath, String tableName) { return new CarbonReaderBuilder(tablePath, tableName); } + /** + * Return a new {@link CarbonReaderBuilder} instance + */ + public static CarbonReaderBuilder builder(String tablePath) { + String uniqueName = "_temp" + UUID.randomUUID().toString(); --- End diff -- I think it maybe has many problems if using s"table@$tablePath", because there are different table path, like local,HDFS and OBS and so on. I think we can add time to table name for recording the create time of table. --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2336 Build Failed with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/6184/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2336 Build Failed with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/5023/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2336 Build Success with Spark 2.1.0, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder1/6187/ --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/2336 SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/5158/ --- |
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:
https://github.com/apache/carbondata/pull/2336 Build Success with Spark 2.2.1, Please check CI http://88.99.58.216:8080/job/ApacheCarbonPRBuilder/5026/ --- |
In reply to this post by qiuchenjian-2
Github user ravipesala commented on the issue:
https://github.com/apache/carbondata/pull/2336 SDV Build Success , Please check CI http://144.76.159.231:8080/job/ApacheSDVTests/5161/ --- |
Free forum by Nabble | Edit this page |