Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. {
  2. "type": "update",
  3. "timestamp": 1558346256000,
  4. "binlog_filename": "mysql-bin-changelog.000889",
  5. "binlog_position": 635,
  6. "database": "books",
  7. "table_name": "publishers",
  8. "table_id": 111,
  9. "columns": [
  10. {
  11. "id": 1,
  12. "name": "id",
  13. "column_type": 4,
  14. "last_value": 2,
  15. "value": 2
  16. },
  17. {
  18. "id": 2,
  19. "name": "name",
  20. "column_type": 12,
  21. "last_value": "Suresh",
  22. "value": "Suresh123"
  23. },
  24. {
  25. "id": 3,
  26. "name": "email",
  27. "column_type": 12,
  28. "last_value": "Suresh@yahoo.com",
  29. "value": "Suresh@yahoo.com"
  30. }
  31. ]
  32. }
  33.  
  34. [
  35. {
  36. "type": "update",
  37. "timestamp": 1558346256000,
  38. "binlog_filename": "mysql-bin-changelog.000889",
  39. "binlog_position": 635,
  40. "database": "books",
  41. "table_name": "publishers",
  42. "table_id": 111,
  43. "columns": {
  44. "id": "2",
  45. "name": "Suresh123",
  46. "email": "Suresh@yahoo.com"
  47. }
  48. }
  49. ]
  50.  
  51. [
  52. {
  53. "operation": "shift",
  54. "spec": {
  55. "columns": {
  56. "*": {
  57. "@(value)": "[#1].@(1,name)"
  58. }
  59. }
  60. }
  61. }
  62. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement