Hi Team,
Do we have mysql equivalent FIND_IN_SET function in Singlestore? if please let me know.
DIM_RULE_CON
ID Rule_id
01 A01,A02,A03
02 A04
03 A05,A06,A07
FACT_FIN
TIME RULE_ID AMOUNT
012021 A01 1000
012021 A02 2000
012021 A03 3000
012021 A04 1000
022021 A05 2000
032021 A06 3000
SELECT DISTINCT TIME FROM FACT_FIN F
JOIN DIM_RULE_CON C ON FIND_IN_SET (F.RULE_ID,C.RULE_ID)
WHERE F.AMOUNT>1000;
– THIS QUERY IS WORKING FINE IN MYSQL , when am join with comma separated field to Single value field.
But i could not find solutions or equivalent function in singlestore.
Kindly help me