I\'m trying to write a Spark Dataset into an existent postgresql table (can\'t change the table metadata like column types). One of the columns of this table is of type HSto
It turns out I have just to let postgres try to guess the appropriate type of my column. By setting stringtype to unspecified in the connection string as described in the official documentation.