diff options
author | Sameer Agarwal <sameer@databricks.com> | 2016-03-29 16:46:45 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-03-29 16:46:45 -0700 |
commit | 366cac6fb0bb5591a0463c4696f5b9de2a294022 (patch) | |
tree | b1ff3c2dfa09d7202e9fcabe792658357f61d7b2 /repl | |
parent | a7a93a116dd9813853ba6f112beb7763931d2006 (diff) | |
download | spark-366cac6fb0bb5591a0463c4696f5b9de2a294022.tar.gz spark-366cac6fb0bb5591a0463c4696f5b9de2a294022.tar.bz2 spark-366cac6fb0bb5591a0463c4696f5b9de2a294022.zip |
[SPARK-14225][SQL] Cap the length of toCommentSafeString at 128 chars
## What changes were proposed in this pull request?
Builds on https://github.com/apache/spark/pull/12022 and (a) appends "..." to truncated comment strings and (b) fixes indentation in lines after the commented strings if they happen to have a `(`, `{`, `)` or `}`
## How was this patch tested?
Manually examined the generated code.
Author: Sameer Agarwal <sameer@databricks.com>
Closes #12044 from sameeragarwal/comment.
Diffstat (limited to 'repl')
0 files changed, 0 insertions, 0 deletions