GitHub user jackylk opened a pull request: https://github.com/apache/carbondata/pull/2639
[CARBONDATA-2858] Fix external table schema bug If user specifies schema in CREATE EXTERNAL TABLE, we should: 1. Validate the schema against the inferred schema from the table path. 2. Honor the schema specified by the user instead of the inferred schema (full schema) - [X] Any interfaces changed? No - [X] Any backward compatibility impacted? No - [X] Document update required? No - [X] 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. two test case added - [X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. NA You can merge this pull request into a Git repository by running: $ git pull https://github.com/jackylk/incubator-carbondata fix_external_table Alternatively you can review and apply these changes as the patch at: https://github.com/apache/carbondata/pull/2639.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 #2639 ---- commit 6d14a819d3e371b8a147edee9259da5ca4a60996 Author: Jacky Li <jacky.likun@...> Date: 2018-08-15T16:12:17Z fix external table ---- ---