[
https://issues.apache.org/jira/browse/CARBONDATA-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16317882#comment-16317882 ]
Sangeeta Gulia commented on CARBONDATA-1673:
--------------------------------------------
I am unable to replicate this issue. It is working correctly on current master branch code.
These are the commands I have executed:
CarbonProperties.getInstance()
.addProperty(CarbonCommonConstants.CARBON_TIMESTAMP_FORMAT, "yyyy/MM/dd")
spark.sql("DROP TABLE IF EXISTS t0")
spark.sql("""
| CREATE TABLE IF NOT EXISTS t0
| (
| id Int,
| vin String,
| phonenumber Long,
| country String,
| area String,
| salary Int
| )
| PARTITIONED BY (logdate Timestamp)
| STORED BY 'carbondata'
| TBLPROPERTIES('PARTITION_TYPE'='RANGE',
| 'RANGE_INFO'='2014/01/01, 2015/01/01, 2016/01/01')
""".stripMargin)
spark.sql("""show partitions t0""").show()
And below is my result after show partition:
+--------------------+
| partition|
+--------------------+
|0, logdate = DEFAULT|
|1, logdate < 2014...|
|2, 2014/01/01 <= ...|
|3, 2015/01/01 <= ...|
+--------------------+
Please let me know if you are able to replicate it on current master branch code.
> Carbon 1.3.0-Partitioning:Show Partition for Range Partition is not showing the correct details.
> ------------------------------------------------------------------------------------------------
>
> Key: CARBONDATA-1673
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-1673> Project: CarbonData
> Issue Type: Bug
> Components: sql
> Affects Versions: 1.3.0
> Reporter: Ayushi Sharma
> Priority: Minor
> Attachments: Range_recording.htm, Range_recording.swf
>
>
> For description, please refer to the attachment.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)