SQL
`UNION` of Boolean and Integer Values
The following query fails in PostgreSQL but successfully completes in DuckDB:  
```sql
SELECT true AS x
UNION
SELECT 2;
```  
PostgreSQL returns an error:  
```console
ERROR:  UNION types boolean and integer cannot be matched
```  
DuckDB performs an enforced cast, therefore, it completes the query and returns the following:  
|    x |
| ---: |
|    1 |
|    2 |