drill-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [3/3] drill git commit: DRILL-1935: Use single quote around encoding type in ExpressionStringBuilder.visitConvertExpression()
Date Wed, 07 Jan 2015 11:07:44 GMT
DRILL-1935: Use single quote around encoding type in ExpressionStringBuilder.visitConvertExpression()


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/5cdd7198
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/5cdd7198
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/5cdd7198

Branch: refs/heads/master
Commit: 5cdd71986e4589c1a3f95a3c3c4200722e562dae
Parents: eced8bb
Author: Aditya Kishore <adi@apache.org>
Authored: Mon Jan 5 21:59:05 2015 -0800
Committer: Aditya Kishore <adi@apache.org>
Committed: Wed Jan 7 02:30:42 2015 -0800

----------------------------------------------------------------------
 .../apache/drill/common/expression/ExpressionStringBuilder.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/5cdd7198/common/src/main/java/org/apache/drill/common/expression/ExpressionStringBuilder.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ExpressionStringBuilder.java
b/common/src/main/java/org/apache/drill/common/expression/ExpressionStringBuilder.java
index 405ac06..d3839ed 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ExpressionStringBuilder.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ExpressionStringBuilder.java
@@ -223,7 +223,7 @@ public class ExpressionStringBuilder extends AbstractExprVisitor<Void,
StringBui
   public Void visitConvertExpression(ConvertExpression e, StringBuilder sb) throws RuntimeException
{
     sb.append(e.getConvertFunction()).append("(");
     e.getInput().accept(this, sb);
-    sb.append(", \"").append(e.getEncodingType()).append("\")");
+    sb.append(", '").append(e.getEncodingType()).append("')");
     return null;
   }
 


Mime
View raw message