Identity error Spark Sql:not enough data columns;target has 3 but the inserted data has 2, it's the identity column which is missing here
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2023 10:51 AM
While inserting into target table i am getting an error '"not enough data columns;target has 3 but the inserted data has 2" but it's the identity column which is the 8th column ".
insert into table A
(col 1,col 2,col3)
select
col2,
col3
from table B
join table C
Labels:
- Labels:
-
Spark sql
-
Target Table