Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 278CB200D5D for ; Wed, 20 Dec 2017 10:47:31 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 26319160C15; Wed, 20 Dec 2017 09:47:31 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6EE9E160C0A for ; Wed, 20 Dec 2017 10:47:30 +0100 (CET) Received: (qmail 27033 invoked by uid 500); 20 Dec 2017 09:47:29 -0000 Mailing-List: contact issues-help@carbondata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@carbondata.apache.org Delivered-To: mailing list issues@carbondata.apache.org Received: (qmail 27024 invoked by uid 99); 20 Dec 2017 09:47:29 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Dec 2017 09:47:29 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8B69EDFC2F; Wed, 20 Dec 2017 09:47:29 +0000 (UTC) From: kunal642 To: issues@carbondata.apache.org Reply-To: issues@carbondata.apache.org Message-ID: Subject: [GitHub] carbondata pull request #1692: [CARBONDATA-1777] Added check to update relat... Content-Type: text/plain Date: Wed, 20 Dec 2017 09:47:29 +0000 (UTC) archived-at: Wed, 20 Dec 2017 09:47:31 -0000 GitHub user kunal642 opened a pull request: https://github.com/apache/carbondata/pull/1692 [CARBONDATA-1777] Added check to update relation if catalog relation is present in plan **Analysis:** In spark 2.2 while doing lookup relation there was no case to handle CatalogRelation due to which the tables were not getting refreshed in different sessions. **Solution:** Add case for CatalogRelation so that the table being referred is refreshed. 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? No - [ ] 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. - [ ] 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/kunal642/carbondata table_refresh_fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/carbondata/pull/1692.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 #1692 ---- commit 099f9806bb16c6dbaa747316adca02028b323686 Author: kunal642 Date: 2017-12-20T08:35:06Z added check to update relation if catalog relation is present in plan ---- ---