The default_varchar_size option specifies the size of the varchar type of a column while creating a table using 'copy_to_sql'.
The default size is 1024.
You can configure this parameter using options.
Example
teradataml.options.configure.default_varchar_size = 512