Return-Path: X-Original-To: apmail-spark-issues-archive@minotaur.apache.org Delivered-To: apmail-spark-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D3AB18B17 for ; Mon, 23 Nov 2015 16:56:11 +0000 (UTC) Received: (qmail 97984 invoked by uid 500); 23 Nov 2015 16:56:11 -0000 Delivered-To: apmail-spark-issues-archive@spark.apache.org Received: (qmail 97956 invoked by uid 500); 23 Nov 2015 16:56:11 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 97927 invoked by uid 99); 23 Nov 2015 16:56:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2015 16:56:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EEAA02C044E for ; Mon, 23 Nov 2015 16:56:10 +0000 (UTC) Date: Mon, 23 Nov 2015 16:56:10 +0000 (UTC) From: "Yin Huai (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SPARK-11628) spark-sql do not support for column datatype of CHAR 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/SPARK-11628?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Yin Huai updated SPARK-11628: ----------------------------- Flags: (was: Important) > spark-sql do not support for column datatype of CHAR > ---------------------------------------------------- > > Key: SPARK-11628 > URL: https://issues.apache.org/jira/browse/SPARK-11628 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 1.5.1 > Reporter: zhangshunyu > Assignee: Xiu(Joe) Guo > Fix For: 1.6.0 > > > In spark-sql when we create a table using the command as follwing: > "create table tablename(col char(5));" > Hive will support for creating the table, but when we desc the table: > "desc tablename" > spark will report the error=EF=BC=9A > =E2=80=9Corg.apache.spark.sql.types.DataTypeException: Unsupported= dataType: char(5). If you have a struct and a field name of it has any spe= cial characters, please use backticks (`) to quote that field name, e.g. `x= +y`. Please note that backtick itself is not supported in a field name.=E2= =80=9D -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org