From issues-return-98414-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Thu Sep 5 09:01:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 912D4180656 for ; Thu, 5 Sep 2019 11:01:02 +0200 (CEST) Received: (qmail 60915 invoked by uid 500); 5 Sep 2019 16:38:42 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 60906 invoked by uid 99); 5 Sep 2019 16:38:42 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2019 16:38:42 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5C109E2E39 for ; Thu, 5 Sep 2019 09:01:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 14B577808D9 for ; Thu, 5 Sep 2019 09:01:00 +0000 (UTC) Date: Thu, 5 Sep 2019 09:01:00 +0000 (UTC) From: "Nikolay Izhikov (Jira)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-9228) Spark SQL Table Schema Specification MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-9228?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D169= 23217#comment-16923217 ]=20 Nikolay Izhikov commented on IGNITE-9228: ----------------------------------------- Hello, [~gtmanoj235] Thanks for your feedback! Feel free to raise a ticket to support schema on table write. Please, write= the number of the ticket here. Do you want to contribute changes to implement your idea? I will review them, for sure. > Spark SQL Table Schema Specification > ------------------------------------ > > Key: IGNITE-9228 > URL: https://issues.apache.org/jira/browse/IGNITE-9228 > Project: Ignite > Issue Type: Improvement > Components: spark > Affects Versions: 2.6 > Reporter: Stuart Macdonald > Assignee: Stuart Macdonald > Priority: Major > Fix For: 2.8 > > > The Ignite Spark SQL interface currently takes just =E2=80=9Ctable name= =E2=80=9D as a > parameter which it uses to supply a Spark dataset with data from the > underlying Ignite SQL table with that name. > To do this it loops through each cache and finds the first one with the > given table name [1]. This causes issues if there are multiple tables > registered in different schema with the same table name as you can only > access one of those from Spark. We could either: > 1. Pass an extra parameter through the Ignite Spark data source which > optionally specifies the schema name. > 2. Support namespacing in the existing table name parameter, ie > =E2=80=9CschemaName.tableName=E2=80=9D > [1 ]https://github.com/apache/ignite/blob/ca973ad99c6112160a305df05be9458= e29f88307/modules/spark/src/main/scala/org/apache/ignite/spark/impl/package= .scala#L119 -- This message was sent by Atlassian Jira (v8.3.2#803003)