Github user paul-rogers commented on the issue:
https://github.com/apache/drill/pull/517
Good point. So, we'd want to issue an overflow error in the cast method,
but it seems Drill has no way to do that. So, for now, maybe just leave it at
the version that works when numbers are in
Github user daveoshinsky commented on the issue:
https://github.com/apache/drill/pull/517
The scale is a schema-level property of that column of data, that is never
changed on the fly, to deal with problematic truncation, or otherwise. Â If
anybody is interested in a detail
Github user paul-rogers commented on the issue:
https://github.com/apache/drill/pull/517
To clarify the previous comment... In the case where the maximum required
precision for the int type is greater than the maximum precision of the target
decimal type, we use Dave's code to figure
Github user arina-ielchiieva commented on a diff in the pull request:
https://github.com/apache/drill/pull/551#discussion_r73786030
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/QueryManager.java
---
@@ -338,7 +345,8 @@ private QueryProfile
Github user arina-ielchiieva commented on a diff in the pull request:
https://github.com/apache/drill/pull/551#discussion_r73785925
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/QueryManager.java
---
@@ -81,6 +85,7 @@
private final String
Github user vdiravka commented on a diff in the pull request:
https://github.com/apache/drill/pull/520#discussion_r73784191
--- Diff:
exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/DrillDatabaseMetaDataImpl.java
---
@@ -1273,5 +1295,11 @@ public boolean