Merge pull request #7851 from dhs3000/patch-1

In Coerce use the qualified name so that fields can be compared again
This commit is contained in:
Lukas Eder 2019-04-23 16:00:29 +02:00 committed by GitHub
commit a3f14da0e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ final class Coerce<T> extends AbstractField<T> {
private final Field<?> field;
public Coerce(Field<?> field, DataType<T> type) {
super(field.getUnqualifiedName(), type);
super(field.getQualifiedName(), type);
this.field = (field instanceof Coerce) ? ((Coerce<?>) field).field : field;
}