Github user chenerlu commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1173#discussion_r128301440
  
    --- Diff: 
examples/spark/src/main/scala/org/apache/carbondata/examples/CarbonPartitionExample.scala
 ---
    @@ -121,18 +121,18 @@ object CarbonPartitionExample {
         cc.sql("alter table hiveDB.t7 add partition (city = 'Shanghai')")
         //  show partitions
         try {
    -      cc.sql("SHOW PARTITIONS t0").show()
    +      cc.sql("SHOW PARTITIONS t0").show(100, false)
         } catch {
    -      case ex: AnalysisException => print(ex.getMessage())
    +      case ex: AnalysisException => print(ex.getMessage() + "\n")
    --- End diff --
    
    Use println instead.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to