[jira] [Updated] (CARBONDATA-4238) Documentation Issue in Github Docs Link https://github.com/apache/carbondata/blob/master/docs/ddl-of-carbondata.md#add-columns

2021-06-25 Thread PURUJIT CHAUGULE (Jira)


 [ 
https://issues.apache.org/jira/browse/CARBONDATA-4238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

PURUJIT CHAUGULE updated CARBONDATA-4238:
-
Summary: Documentation Issue in Github Docs Link 
https://github.com/apache/carbondata/blob/master/docs/ddl-of-carbondata.md#add-columns
  (was: Documentation Issue in Github Docs Link 
https://github.com/apache/carbondata/tree/master/docs)

> Documentation Issue in Github Docs Link 
> https://github.com/apache/carbondata/blob/master/docs/ddl-of-carbondata.md#add-columns
> --
>
> Key: CARBONDATA-4238
> URL: https://issues.apache.org/jira/browse/CARBONDATA-4238
> Project: CarbonData
>  Issue Type: Bug
>  Components: docs
>Affects Versions: 2.2.0
>Reporter: PURUJIT CHAUGULE
>Priority: Minor
> Attachments: Alter Add Complex.png, Alter Add 
> Complex_Error_message.png
>
>
> [https://github.com/apache/carbondata/blob/master/docs/ddl-of-carbondata.md#add-columns]
>  * Example provided for Adding of only single-level Complex datatype 
> columns(only array and struct)  has double level array column which is not 
> supported and needs to be changed to single level array column.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (CARBONDATA-4238) Documentation Issue in Github Docs Link https://github.com/apache/carbondata/tree/master/docs

2021-06-25 Thread PURUJIT CHAUGULE (Jira)
PURUJIT CHAUGULE created CARBONDATA-4238:


 Summary: Documentation Issue in Github Docs Link 
https://github.com/apache/carbondata/tree/master/docs
 Key: CARBONDATA-4238
 URL: https://issues.apache.org/jira/browse/CARBONDATA-4238
 Project: CarbonData
  Issue Type: Bug
  Components: docs
Affects Versions: 2.2.0
Reporter: PURUJIT CHAUGULE
 Attachments: Alter Add Complex.png, Alter Add Complex_Error_message.png

[https://github.com/apache/carbondata/blob/master/docs/ddl-of-carbondata.md#add-columns]
 * Example provided for Adding of only single-level Complex datatype 
columns(only array and struct)  has double level array column which is not 
supported and needs to be changed to single level array column.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CARBONDATA-4237) documentation issues in github master docs.

2021-06-25 Thread PRIYESH RANJAN (Jira)


 [ 
https://issues.apache.org/jira/browse/CARBONDATA-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

PRIYESH RANJAN updated CARBONDATA-4237:
---
Description: 
+Modification 1 :+

[https://github.com/apache/carbondata/blob/master/docs/streaming-guide.md]

Streaming table don't support alter table operation(alter add columns, drop 
column, rename column, change datatypes and rename table name) so In Constraint 
section of this doc ,it can be added.

 

0: jdbc:hive2://100-112-148-186:22550/> alter table uniqdata_alter add 
columns(id2 int);
 Error: org.apache.hive.service.cli.HiveSQLException: Error running query: 
org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
Alter table add column is not allowed for streaming table

0: jdbc:hive2://100-112-148-186:22550/> alter table uniqdata_alter drop 
columns(integer_column1);
 Error: org.apache.hive.service.cli.HiveSQLException: Error running query: 
org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
Alter table drop column is not allowed for streaming table.

0: jdbc:hive2://100-112-148-186:22550/> ALTER TABLE uniqdata_alter rename TO 
uniqdata_alterTable ;
 Error: org.apache.hive.service.cli.HiveSQLException: Error running query: 
org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
Alter rename table is not allowed for streaming table.

 

+Modification 2 :+

[https://github.com/apache/carbondata/blob/master/docs/file-structure-of-carbondata.md]

Since Metadata folder contain segment, tablestatus and schema folder so  
dictionary file related content inside metadata folder can be removed from doc.

eg : Metadata directory stores schema files, tablestatus and *dictionary files 
(including .dict, .dictmeta and .sortindex).* These line from doc can be 
modifed as Metadata directory stores schema files, tablestatus and segments 
details.

 

+Modification 3 :+

[https://github.com/apache/carbondata/blob/master/docs/sdk-guide.md]

 In the Quick Example section of following doc, it still converting date 
datatype to Integer value and timestamp datatype to long value whereas now they 
accept value as date and timestamp value respectively.

 

{{while (reader.hasNext()) {
 Object[] row = (Object[]) reader.readNextRow();
 System.out.println(String.format("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t",
 i, row[0], row[1], row[2], row[3], row[4], row[5],
 +*new Date((day * ((int) row[6]))), new Timestamp((long) row[7] / 1000)*+, 
row[8]
 ));

{{can be modified to}}

while (reader.hasNext()) {
 Object[] row = (Object[]) reader.readNextRow();
 
System.out.println(String.format("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t",
 i, row[0], row[1], row[2], row[3], row[4], row[5], +*row[6], row[7]*+,
 row[8], row[9]
 ));\{{}}

  was:
+Modification 1 :+

[https://github.com/apache/carbondata/blob/master/docs/streaming-guide.md]

Streaming table don't support alter table operation(alter add columns, drop 
column, rename column, change datatypes and rename table name) so In Constraint 
section of this doc ,it can be added.

0: jdbc:hive2://100-112-148-186:22550/> alter table uniqdata_alter add 
columns(id2 int);
Error: org.apache.hive.service.cli.HiveSQLException: Error running query: 
org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
Alter table add column is not allowed for streaming table

0: jdbc:hive2://100-112-148-186:22550/> alter table uniqdata_alter drop 
columns(integer_column1);
Error: org.apache.hive.service.cli.HiveSQLException: Error running query: 
org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
Alter table drop column is not allowed for streaming table.

0: jdbc:hive2://100-112-148-186:22550/> ALTER TABLE uniqdata_alter rename TO 
uniqdata_alterTable ;
Error: org.apache.hive.service.cli.HiveSQLException: Error running query: 
org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
Alter rename table is not allowed for streaming table.

 

+Modification 2 :+

[https://github.com/apache/carbondata/blob/master/docs/file-structure-of-carbondata.md]

Since Metadata folder contain segment, tablestatus and schema folder so  
dictionary file related content inside metadata folder can be removed from doc.

eg : Metadata directory stores schema files, tablestatus and *dictionary files 
(including .dict, .dictmeta and .sortindex).* There are three types of metadata 
data information files.

 

+Modification 3 :+

[https://github.com/apache/carbondata/blob/master/docs/sdk-guide.md]

 In the Quick Example section of following doc, it still converting date 
datatype to Integer value and timestamp datatype to long value whereas now they 
accept value as date and timestamp value respectively.

{{}}{{}}

{{while (reader.hasNext()) {
Object[] row = (Object[]) reader.readNextRow();

[jira] [Updated] (CARBONDATA-4237) documentation issues in github master docs.

2021-06-25 Thread PRIYESH RANJAN (Jira)


 [ 
https://issues.apache.org/jira/browse/CARBONDATA-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

PRIYESH RANJAN updated CARBONDATA-4237:
---
Environment: Contents verified on Spark 2.4.5 and Spark 3.1.1  (was: 
Content verified on Spark 2.4.5 and Spark 3.1.1)

> documentation issues in github master docs.
> ---
>
> Key: CARBONDATA-4237
> URL: https://issues.apache.org/jira/browse/CARBONDATA-4237
> Project: CarbonData
>  Issue Type: Bug
>  Components: docs
>Affects Versions: 2.2.0
> Environment: Contents verified on Spark 2.4.5 and Spark 3.1.1
>Reporter: PRIYESH RANJAN
>Priority: Minor
>
> +Modification 1 :+
> [https://github.com/apache/carbondata/blob/master/docs/streaming-guide.md]
> Streaming table don't support alter table operation(alter add columns, drop 
> column, rename column, change datatypes and rename table name) so In 
> Constraint section of this doc ,it can be added.
> 0: jdbc:hive2://100-112-148-186:22550/> alter table uniqdata_alter add 
> columns(id2 int);
> Error: org.apache.hive.service.cli.HiveSQLException: Error running query: 
> org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
> Alter table add column is not allowed for streaming table
> 0: jdbc:hive2://100-112-148-186:22550/> alter table uniqdata_alter drop 
> columns(integer_column1);
> Error: org.apache.hive.service.cli.HiveSQLException: Error running query: 
> org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
> Alter table drop column is not allowed for streaming table.
> 0: jdbc:hive2://100-112-148-186:22550/> ALTER TABLE uniqdata_alter rename TO 
> uniqdata_alterTable ;
> Error: org.apache.hive.service.cli.HiveSQLException: Error running query: 
> org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
> Alter rename table is not allowed for streaming table.
>  
> +Modification 2 :+
> [https://github.com/apache/carbondata/blob/master/docs/file-structure-of-carbondata.md]
> Since Metadata folder contain segment, tablestatus and schema folder so  
> dictionary file related content inside metadata folder can be removed from 
> doc.
> eg : Metadata directory stores schema files, tablestatus and *dictionary 
> files (including .dict, .dictmeta and .sortindex).* There are three types of 
> metadata data information files.
>  
> +Modification 3 :+
> [https://github.com/apache/carbondata/blob/master/docs/sdk-guide.md]
>  In the Quick Example section of following doc, it still converting date 
> datatype to Integer value and timestamp datatype to long value whereas now 
> they accept value as date and timestamp value respectively.
> {{}}{{}}
> {{while (reader.hasNext()) {
> Object[] row = (Object[]) reader.readNextRow();
> 
> System.out.println(String.format("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t",
> i, row[0], row[1], row[2], row[3], row[4], row[5],
> new Date((day * ((int) row[6]))), new Timestamp((long) row[7] / 
> 1000), row[8]
> ));}}{{}}{{}}
> {{can be modified to}}
> while (reader.hasNext()) {
>  Object[] row = (Object[]) reader.readNextRow();
>  
> System.out.println(String.format("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t",
>  i, row[0], row[1], row[2], row[3], row[4], row[5], row[6], row[7],
>  row[8], row[9]
>  ));{{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (CARBONDATA-4237) documentation issues in github master docs.

2021-06-25 Thread PRIYESH RANJAN (Jira)
PRIYESH RANJAN created CARBONDATA-4237:
--

 Summary: documentation issues in github master docs.
 Key: CARBONDATA-4237
 URL: https://issues.apache.org/jira/browse/CARBONDATA-4237
 Project: CarbonData
  Issue Type: Bug
  Components: docs
Affects Versions: 2.2.0
 Environment: Content verified on Spark 2.4.5 and Spark 3.1.1
Reporter: PRIYESH RANJAN


+Modification 1 :+

[https://github.com/apache/carbondata/blob/master/docs/streaming-guide.md]

Streaming table don't support alter table operation(alter add columns, drop 
column, rename column, change datatypes and rename table name) so In Constraint 
section of this doc ,it can be added.

0: jdbc:hive2://100-112-148-186:22550/> alter table uniqdata_alter add 
columns(id2 int);
Error: org.apache.hive.service.cli.HiveSQLException: Error running query: 
org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
Alter table add column is not allowed for streaming table

0: jdbc:hive2://100-112-148-186:22550/> alter table uniqdata_alter drop 
columns(integer_column1);
Error: org.apache.hive.service.cli.HiveSQLException: Error running query: 
org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
Alter table drop column is not allowed for streaming table.

0: jdbc:hive2://100-112-148-186:22550/> ALTER TABLE uniqdata_alter rename TO 
uniqdata_alterTable ;
Error: org.apache.hive.service.cli.HiveSQLException: Error running query: 
org.apache.carbondata.common.exceptions.sql.MalformedCarbonCommandException: 
Alter rename table is not allowed for streaming table.

 

+Modification 2 :+

[https://github.com/apache/carbondata/blob/master/docs/file-structure-of-carbondata.md]

Since Metadata folder contain segment, tablestatus and schema folder so  
dictionary file related content inside metadata folder can be removed from doc.

eg : Metadata directory stores schema files, tablestatus and *dictionary files 
(including .dict, .dictmeta and .sortindex).* There are three types of metadata 
data information files.

 

+Modification 3 :+

[https://github.com/apache/carbondata/blob/master/docs/sdk-guide.md]

 In the Quick Example section of following doc, it still converting date 
datatype to Integer value and timestamp datatype to long value whereas now they 
accept value as date and timestamp value respectively.

{{}}{{}}

{{while (reader.hasNext()) {
Object[] row = (Object[]) reader.readNextRow();
System.out.println(String.format("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t",
i, row[0], row[1], row[2], row[3], row[4], row[5],
new Date((day * ((int) row[6]))), new Timestamp((long) row[7] / 1000), 
row[8]
));}}{{}}{{}}

{{can be modified to}}

while (reader.hasNext()) {
 Object[] row = (Object[]) reader.readNextRow();
 
System.out.println(String.format("%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t",
 i, row[0], row[1], row[2], row[3], row[4], row[5], row[6], row[7],
 row[8], row[9]
 ));{{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (CARBONDATA-4236) Documentation correctness and link issues in https://github.com/apache/carbondata/blob/master/docs/

2021-06-25 Thread Chetan Bhat (Jira)
Chetan Bhat created CARBONDATA-4236:
---

 Summary: Documentation correctness and link issues in 
https://github.com/apache/carbondata/blob/master/docs/
 Key: CARBONDATA-4236
 URL: https://issues.apache.org/jira/browse/CARBONDATA-4236
 Project: CarbonData
  Issue Type: Bug
  Components: docs
Affects Versions: 2.2.0
 Environment: docs with content and examples verified on Spark 2.4.5 
and Spark 3.1.1 compatible carbon.
Reporter: Chetan Bhat


In the documentation link https://github.com/apache/carbondata/blob/master/docs/

Issue 1 :- 
In link -> 
https://github.com/apache/carbondata/blob/master/docs/configuration-parameters.md
 the "See detail" links does not open the target 
"http://spark.apache.org/docs/latest/rdd-programming-guide.html#rdd-persistence;
In link --> 
https://github.com/apache/carbondata/blob/master/docs/documentation.md the link 
"Apache CarbonData wiki" when clicked tries to open link 
"https://cwiki.apache.org/confluence/display/CARBONDATA/CarbonData+Home; the 
target page cant be opened. Similarly the other links in the "External 
Resources" section cant be opened due to the same error.
In link 
https://github.com/apache/carbondata/blob/master/docs/faq.md#what-are-bad-records
 the link "https://thrift.apache.org/docs/install; when clicked does not open 
the target page.
In link 
https://github.com/apache/carbondata/blob/master/docs/quick-start-guide.md when 
the "Spark website" link is clicked https://spark.apache.org/downloads.html 
page is not opened. Also in same page when the "Apache Spark Documentation" 
link is clicked the "http://spark.apache.org/docs/latest/; page is not opened.
In the link 
https://github.com/apache/carbondata/blob/master/docs/release-guide.md "Product 
Release Policy link" , "release signing guidelines" , "Apache Nexus repository" 
and "repository.apache.org" when clicked the target pages are not opening.


Issue 2:-
In link --> 
https://github.com/apache/carbondata/blob/master/docs/configuration-parameters.md
 the "To configure Ranges-based Compaction" to be changed to "To configure 
Range-based Compaction"

Issue 3:-
In link --> 
https://github.com/apache/carbondata/blob/master/docs/configuration-parameters.md
 the "Making this true degrade the LOAD performance" to be changed to "Making 
this true degrades the LOAD performance"

Issue 4 :-
In link --> 
https://github.com/apache/carbondata/blob/master/docs/configuration-parameters.md
 the "user an either set to true" to be changed to "user can either set to true"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)