[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-09-06 Thread srowen
Github user srowen commented on the issue:

https://github.com/apache/spark/pull/22048
  
OK, it isn't just me. We'll see if it's a broader problem.

I manually cherry-picked to branch-2.4


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-09-06 Thread dongjoon-hyun
Github user dongjoon-hyun commented on the issue:

https://github.com/apache/spark/pull/22048
  
Ur, it seems that I'm facing the same situation. In this case, should we 
just cherry-pick to `branch-2.4`?


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-09-06 Thread dongjoon-hyun
Github user dongjoon-hyun commented on the issue:

https://github.com/apache/spark/pull/22048
  
@srowen . Sure. I'll try to backport this.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-09-06 Thread srowen
Github user srowen commented on the issue:

https://github.com/apache/spark/pull/22048
  
@dongjoon-hyun could I ask a favor; can you try merging this? the merge 
script should say it's merged and offer to back-port to 2.4. However I keep 
getting errors about it not being mergeable, although all upstream branches and 
my clone all are up to date.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-09-06 Thread srowen
Github user srowen commented on the issue:

https://github.com/apache/spark/pull/22048
  
Merging to master and 2.4, though for some reason I can't back-port with 
the merge script right now. Will try later.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-09-04 Thread xuejianbest
Github user xuejianbest commented on the issue:

https://github.com/apache/spark/pull/22048
  
I see, Thinks.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-09-04 Thread srowen
Github user srowen commented on the issue:

https://github.com/apache/spark/pull/22048
  
Just add a new commit with a little info about what this does and how you 
generated it. The commits are squashed anyway. 


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-31 Thread kiszk
Github user kiszk commented on the issue:

https://github.com/apache/spark/pull/22048
  
LGTM, then let me ask @gatorsmile


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-31 Thread SparkQA
Github user SparkQA commented on the issue:

https://github.com/apache/spark/pull/22048
  
**[Test build #4329 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/4329/testReport)**
 for PR 22048 at commit 
[`45ac272`](https://github.com/apache/spark/commit/45ac272ca667f3330f7b550b463b23c284d9eadf).
 * This patch passes all tests.
 * This patch merges cleanly.
 * This patch adds no public classes.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-31 Thread SparkQA
Github user SparkQA commented on the issue:

https://github.com/apache/spark/pull/22048
  
**[Test build #4329 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/4329/testReport)**
 for PR 22048 at commit 
[`45ac272`](https://github.com/apache/spark/commit/45ac272ca667f3330f7b550b463b23c284d9eadf).


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-31 Thread srowen
Github user srowen commented on the issue:

https://github.com/apache/spark/pull/22048
  
Hm! so the warning triggers on unicode escape sequences? That seems like a 
bug in the style checker. Oh well, yes keep them. I'll retest ...


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-30 Thread kiszk
Github user kiszk commented on the issue:

https://github.com/apache/spark/pull/22048
  
retest this please


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-30 Thread xuejianbest
Github user xuejianbest commented on the issue:

https://github.com/apache/spark/pull/22048
  
I see. A new commit has been done.
Thinks.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-30 Thread maropu
Github user maropu commented on the issue:

https://github.com/apache/spark/pull/22048
  
+1 for adding `scalastyle:off nonascii` in that part.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-30 Thread maropu
Github user maropu commented on the issue:

https://github.com/apache/spark/pull/22048
  
style errors, we cannot include non-ascii characters in files;
```
Scalastyle checks failed at following occurrences:
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2803:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2804:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2805:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2806:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2807:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2808:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2809:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2810:4:
 nonascii.message
[error] Total time: 16 s, completed Aug 30, 2018 6:48:19 AM
[error] running 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/dev/lint-scala ; received 
return code 1
Attempting to post to Github...
 > Post successful.
```


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-30 Thread srowen
Github user srowen commented on the issue:

https://github.com/apache/spark/pull/22048
  
Have a look at the test results, which show the style problem it flags:

https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/4305/console

```
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2803:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2804:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2805:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2806:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2807:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2808:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2809:4:
 nonascii.message
[error] 
/home/jenkins/workspace/NewSparkPullRequestBuilder@2/core/src/main/scala/org/apache/spark/util/Utils.scala:2810:4:
 nonascii.message
```

So it doesn't like non-ASCII chars after all! I wonder how they exist in 
the other parts of the source. I checked and other parts just disable the check 
for sections of code where it's appropriate to use unicode chars.

Just wrap these parts of the code in:

```
// scalastyle:off nonascii
...
// scalastyle:on nonascii
```

Sorry, didn't know this was needed.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-30 Thread xuejianbest
Github user xuejianbest commented on the issue:

https://github.com/apache/spark/pull/22048
  
Please help me @srowen 
I don't know where I need to make changes.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-30 Thread xuejianbest
Github user xuejianbest commented on the issue:

https://github.com/apache/spark/pull/22048
  
Why did it fail?
What else should I do?


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-30 Thread SparkQA
Github user SparkQA commented on the issue:

https://github.com/apache/spark/pull/22048
  
**[Test build #4305 has 
finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/4305/testReport)**
 for PR 22048 at commit 
[`3649de5`](https://github.com/apache/spark/commit/3649de50235cd19cfea2c3d88d1ccfb18ea8893a).
 * This patch **fails Scala style tests**.
 * This patch merges cleanly.
 * This patch adds no public classes.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-30 Thread SparkQA
Github user SparkQA commented on the issue:

https://github.com/apache/spark/pull/22048
  
**[Test build #4305 has 
started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/4305/testReport)**
 for PR 22048 at commit 
[`3649de5`](https://github.com/apache/spark/commit/3649de50235cd19cfea2c3d88d1ccfb18ea8893a).


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-29 Thread maropu
Github user maropu commented on the issue:

https://github.com/apache/spark/pull/22048
  
Also, can you add tests in `DatasetSuite`?


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-29 Thread xuejianbest
Github user xuejianbest commented on the issue:

https://github.com/apache/spark/pull/22048
  
I have moved the method of calculating the half width of a string into 
util.Utils object.
@maropu @srowen 


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-28 Thread kiszk
Github user kiszk commented on the issue:

https://github.com/apache/spark/pull/22048
  
@xuejianbest thank you for your update. Would it be possible to commit test 
cases, too?


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-28 Thread xuejianbest
Github user xuejianbest commented on the issue:

https://github.com/apache/spark/pull/22048
  
I looked at all the 0x-0x characters (unicode) and showed them 
under Xshell, then found all the full width characters. Get the latest regular 
expression.
A new version has been submitted, and the variable name has been changed 
and comments added, please see below.
@srowen @kiszk 

A new version is submitted, and the variable name is changed and an 
annotation is added. See below.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-26 Thread srowen
Github user srowen commented on the issue:

https://github.com/apache/spark/pull/22048
  
Ping @xuejianbest 


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-16 Thread kiszk
Github user kiszk commented on the issue:

https://github.com/apache/spark/pull/22048
  
Thank you for creating a JIRA entry and for putting the result. The test 
case is not available yet.


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-13 Thread xuejianbest
Github user xuejianbest commented on the issue:

https://github.com/apache/spark/pull/22048
  

![df.show](https://issues.apache.org/jira/secure/attachment/12935462/show.bmp)


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #22048: [SPARK-25108][SQL] Fix the show method to display the wi...

2018-08-13 Thread xuejianbest
Github user xuejianbest commented on the issue:

https://github.com/apache/spark/pull/22048
  
Below is the display effect I tested on Xshell5.
[https://issues.apache.org/jira/secure/attachment/12935462/show.bmp](url)


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org