I agree with you, Fabian.
I will add a small hint in exception and cast bigDecimal manually in test cases
-Original Message-
From: Fabian Hueske [mailto:fhue...@gmail.com]
Sent: Friday, October 28, 2016 7:17 PM
To: dev@flink.apache.org
Subject: Re: trouble with type casting
Hi Anton
Hi Anton,
it seems that the Table API validation is more strict than Calcite's SQL
validator (maybe because it is not aware of the actual implementation).
In principle, it is correct to prevent the auto-casting from BigDecimal to
double.
I think it is fine to request an explicit cast from users (