Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am writing Python code to import csv files with UK postcodes to ArcGIS file gdb.
The import works fine, however, text fields in newly created table in gdb have length of 8000 characters.
Is there a way to control field properties in a table before importing from csv?
No it's not possible to do it directly.
A workaround is to create a feature class in the gdb with the correct settings for the text fields. Import the csv data afterwards.