soumilshah1995 commented on issue #362:
URL: 
https://github.com/apache/incubator-xtable/issues/362#issuecomment-1976601709

   
   While writing data do I need to specify schema 
   ```
   schema = StructType([
       StructField("customer_id", StringType(), nullable=False),
       StructField("name", StringType(), nullable=True),  # Example of nullable 
field
       StructField("state", StringType(), nullable=False),
       StructField("city", StringType(), nullable=False),
       StructField("email", StringType(), nullable=False),
       StructField("created_at", TimestampType(), nullable=False),
       StructField("address", StringType(), nullable=False)
   ])
   ```
   
   this should fix the issue ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to