presto-main/src/main/java/io/prestosql/sql/analyzer/StatementAnalyzer.java/Visitor/typesMatchForInsert
class Visitor:        private boolean typesMatchForInsert(List<Type> tableTypes, List<Type> queryTypes)
        {
            if (tableTypes.size() != queryTypes.size()) {
                return false;
            }

            for (int i = 0; i < tableTypes.size(); i++) {
                if (!typeCoercion.canCoerce(queryTypes.get(i), tableTypes.get(i))) {
                    return false;
                }
            }

            return true;
        }