Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

The operator! is undefined for the argument type int

Hi,

I want to use SCD1 in my job.so I have used tamp with the below condition

!Relational.isNull(row2.COURSE_KEY)
&&
(
!row1.STUDENT_ID.equals(row2.STUDENT_ID)||
!row1.EMAIL.equals(row2.EMAIL)||
!row1.ENROLLED_ON.equals(row2.ENROLLED_ON)||  !row1.GROUP_ID.equals(row2.GROUP_ID)||
!row1.IS_ENROLLED.equals(row2.IS_ENROLLED)||  !row1.LAST_SEEN_ON.equals(row2.LAST_SEEN_ON)|| !row1.LABELS.equals(row2.LABELS)||
!row1.NAME.equals(row2.NAME)||
!row1.USER_ID.equals(row2.USER_ID))

 

But iam getting

The operator ! is undefined for the argument type(s) Integer

Can you please help on this

 

 

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@ruthvi , please try with the below one. can you tell me which column are coming with Integer type from input schema? change the comparison for the integer type. as changed for STUDENT_ID.

 

!Relational.isNull(row2.COURSE_KEY)
&&
(
row1.STUDENT_ID<>row2.STUDENT_ID||
!row1.EMAIL.equals(row2.EMAIL)||
!row1.ENROLLED_ON.equals(row2.ENROLLED_ON)||  !row1.GROUP_ID.equals(row2.GROUP_ID)||
!row1.IS_ENROLLED.equals(row2.IS_ENROLLED)||  !row1.LAST_SEEN_ON.equals(row2.LAST_SEEN_ON)|| !row1.LABELS.equals(row2.LABELS)||
!row1.NAME.equals(row2.NAME)||
!row1.USER_ID.equals(row2.USER_ID))

View solution in original post

1 Reply
manodwhb
Champion II
Champion II

@ruthvi , please try with the below one. can you tell me which column are coming with Integer type from input schema? change the comparison for the integer type. as changed for STUDENT_ID.

 

!Relational.isNull(row2.COURSE_KEY)
&&
(
row1.STUDENT_ID<>row2.STUDENT_ID||
!row1.EMAIL.equals(row2.EMAIL)||
!row1.ENROLLED_ON.equals(row2.ENROLLED_ON)||  !row1.GROUP_ID.equals(row2.GROUP_ID)||
!row1.IS_ENROLLED.equals(row2.IS_ENROLLED)||  !row1.LAST_SEEN_ON.equals(row2.LAST_SEEN_ON)|| !row1.LABELS.equals(row2.LABELS)||
!row1.NAME.equals(row2.NAME)||
!row1.USER_ID.equals(row2.USER_ID))