Skip to content

Commit

Permalink
confluent
Browse files Browse the repository at this point in the history
  • Loading branch information
hdulay committed Oct 27, 2022
1 parent ee02a94 commit fc7f8d9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions confluent/clickstream_users_last_click.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ select
e.ip,
e.remote_user,
e.`time`,
NOW() as _time,
cast(NOW() as timestamp) as _time,
e.request,
SPLIT_INDEX(e.request, ' ', 1) as url,
e.status,
e.`bytes`,
e.referrer,
e.agent
from ecommerce_clickstream e
inner join customers c on c.userid=e.userid

from clickstream_avro e
inner join customers_pg c on c.userid=e.userid

0 comments on commit fc7f8d9

Please sign in to comment.