I am trying to join the following stream
Field | Type
---------------------------------------
ROWTIME | BIGINT (system)
ROWKEY | VARCHAR(STRING) (system)
USER_ID | VARCHAR(STRING)
FIRSTNAME | VARCHAR(STRING)
---------------------------------------
with the following table:
Field | Type
---------------------------------------
ROWTIME | BIGINT (system)
ROWKEY | VARCHAR(STRING) (system)
USER_ID | VARCHAR(STRING)
USERNAME | VARCHAR(STRING)
---------------------------------------
using
SELECT M.USER_ID, \
C.USERNAME \
FROM MY_STREAM M \
LEFT JOIN MY_TABLE C \
ON (M.USER_ID = C.USER_ID);
but USERNAME
contains only null
values.
1 | null
2 | null
3 | null
4 | null
5 | null
6 | null
7 | null
8 | null
I am sure that there are common user_id
s and that no username
is null
in the table. Am I missing anything here?