Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. [Amazon](500310) Invalid operation: Invalid digit, Value '-', Pos 4, Type: Long
  2. Details:
  3. -----------------------------------------------
  4. error: Invalid digit, Value '-', Pos 4, Type: Long
  5. code: 1207
  6. context: 2018-12-13T10:16:42.047Z
  7. query: 5702235
  8. location: :0
  9. process: query11_873_5702235 [pid=0]
  10. -----------------------------------------------
  11.  
  12. with odsn as
  13. (select dsn
  14. , order_day
  15. , asin
  16. , marketplace_id
  17. , order_id
  18. , is_free_replacement
  19. , customer_id
  20. FROM deeplens.d_shipment_items_hash),
  21.  
  22. ddsn as
  23. (select device_serial_number
  24. , date(date_add('ms'::text, create_date::bigint, '1970-01-01 00:00:00'::timestamp without time zone)) as reg_date
  25. from deeplens.deeplens_dsn ddsn)
  26.  
  27. select odsn.dsn
  28. , odsn.order_day
  29. , odsn.asin
  30. , odsn.marketplace_id
  31. , odsn.order_id
  32. , odsn.is_free_replacement
  33. , odsn.customer_id
  34. , ddsn.device_serial_number
  35. , ddsn.reg_date
  36. FROM odsn
  37. JOIN ddsn
  38. ON odsn.dsn = ddsn.device_serial_number;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement