• Databricks Community
  • Data Engineering
  • Re: Getting Error when Inserting data into table w...

-werners-
-werners-
Esteemed Contributor III
Options
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎05-03-2023 02:00 AM

can you try with values(1L)?

The L part specifies the number is a longType.

https://spark.apache.org/docs/latest/sql-ref-literals.html#numeric-literal

1 Kudo
Reply
Powered by Khoros