100.timeout.mql 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. MATCH
  2. (contract:/mingdao1/contract WHERE attr15 > 34500 and attr15 < 35500)
  3. -[:is_contract_of_project*1..1]->
  4. (project:/mingdao1/project WHERE attr3 is not null),
  5. (sales:/mingdao1/staff)
  6. -[:is_duty_sales_of_contract*1..1]->
  7. (contract:/mingdao1/contract WHERE attr15 > 34500 and attr15 < 35500),
  8. (pm:/mingdao1/staff)
  9. -[:is_admin_of_project*1..1]->
  10. (project:/mingdao1/project WHERE attr3 is not null)
  11. RETURN project.attr3 AS "项目名称", sales.attr1 AS "责任销售", pm.attr1 AS "项目经理名称"
  12. with timeout = 3m
  13. /**
  14. output()
  15. count(43)
  16. **/
  17. ;
  18. MATCH
  19. (company:/dsq_stock/public_company)-[:public_company_belongs_to_industry_stock_industry_category_lv3*1..1]->(category:/dsq_stock/stock_industry_category_lv3),
  20. (company:/dsq_stock/public_company)-[:public_company_to_a_stock_price*1..1]->(stock_price:/dsq_stock/a_stock_price WHERE trade_date = '20250718'),
  21. (company:/dsq_stock/public_company)-[:public_company_to_a_stock_financial_indicator*1..1]->
  22. (financial_indicator:/dsq_stock/a_stock_financial_indicator WHERE report_period = '20241231')
  23. /**
  24. timeout(10m)
  25. output()
  26. match("graph.edges.len",16245,"graph.nodes.len",16582)
  27. **/
  28. ;
  29. MATCH
  30. (company:/dsq_stock/public_company)-[:public_company_belongs_to_industry_stock_industry_category_lv3*1..1]->
  31. (category:/dsq_stock/stock_industry_category_lv3),
  32. (company:/dsq_stock/public_company)-[:public_company_to_a_stock_price*1..1]->
  33. (stock_price:/dsq_stock/a_stock_price WHERE trade_date = '20250718'),
  34. (company:/dsq_stock/public_company)-[:public_company_to_a_stock_financial_indicator*1..1]->
  35. (financial_indicator:/dsq_stock/a_stock_financial_indicator WHERE report_period = '20241231')
  36. RETURN company.symbol AS "symbol", stock_price.total_mv AS "total_mv", stock_price.dividend_yield AS "dividend_yield", financial_indicator.net_profit AS "net_profit"
  37. WITH TIMEOUT = 60m
  38. /**
  39. output()
  40. count(5415)
  41. **/
  42. ;
  43. SELECT room.room_number AS "room_number",
  44. room.usable_area AS "usable_area",
  45. room.office_staff_count AS "office_staff_count"
  46. INTO /temp_room_area_e2f601d7-ae1e-4576-bca9-289ab32024aa
  47. FROM /hxyy/room room
  48. WHERE room.allocated_area > 0 AND room.excess_area > 0 AND room.office_staff_count > 0
  49. LIMIT 0, 500000
  50. WITH TIMEOUT = 6m
  51. ;
  52. select * from /temp_room_area_e2f601d7-ae1e-4576-bca9-289ab32024aa
  53. /**
  54. output()
  55. **/
  56. ;
  57. MATCH (player_attr:'Player_Attributes:00013795','Player_Attributes:00013796','Player_Attributes:00013797')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:'Player:*')
  58. RETURN player_attr.long_shots AS "long_shots", player_attr.id, player.id, player.player_name
  59. with inline
  60. /**
  61. timeout(5m)
  62. output()
  63. metainfo()
  64. sleep(10s)
  65. **/;
  66. MATCH (player_attr:'Player_Attributes:*379?')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  67. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  68. /**
  69. timeout(5m)
  70. output()
  71. metainfo()
  72. sleep(10s)
  73. **/;
  74. MATCH (player_attr:Player_Attributes)-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  75. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  76. with timeout=10s
  77. /**
  78. onerror(continue,"timeout 10s","context canceled")
  79. output()
  80. metainfo()
  81. **/;
  82. MATCH (player_attr:'*')-[]->(player:"*")
  83. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  84. /**
  85. onerror(continue,"need more search conditions", "unsure namespace")
  86. output()
  87. metainfo()
  88. **/;
  89. MATCH (player_attr:'*')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:"*")
  90. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  91. /**
  92. onerror(continue,"not exist","too more")
  93. output()
  94. metainfo()
  95. **/;
  96. MATCH (player_attr:'*')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  97. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  98. with timeout=5m
  99. /**
  100. timeout(5m)
  101. onerror(continue,"too more")
  102. output()
  103. metainfo()
  104. **/;
  105. MATCH (player_attr:'*379*')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  106. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  107. /**
  108. timeout(5m)
  109. output()
  110. metainfo()
  111. **/;
  112. MATCH (player_attr:'*butes:*379*')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  113. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  114. /**
  115. timeout(5m)
  116. output()
  117. metainfo()
  118. **/;
  119. MATCH (player_attr:'Player_Attributes:*379?')-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  120. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  121. /**
  122. timeout(5m)
  123. output()
  124. metainfo()
  125. **/;
  126. MATCH (player_attr:Player_Attributes)-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  127. RETURN player_attr.long_shots AS "long_shots", player_attr.id
  128. /**
  129. timeout(5m)
  130. output()
  131. metainfo()
  132. **/;
  133. MATCH (player_attr:/birddata/player_attributes)-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  134. RETURN player_attr.long_shots AS "long_shots"
  135. /**
  136. timeout(5m)
  137. output()
  138. metainfo()
  139. **/;
  140. MATCH (player_attr:/birddata/player_attributes)-[:player_attributes_player_api_id_player_player_api_id*1..1]->(player:/birddata/player WHERE player_name = 'Ahmed Samir Farag')
  141. RETURN player_attr.long_shots AS "long_shots" INTO /qqq0
  142. /**
  143. timeout(5m)
  144. output()
  145. metainfo()
  146. **/;
  147. select * from /qqq0
  148. /**
  149. output()
  150. **/;
  151. SELECT avg(t0.long_shots) AS "average_long_shots" FROM /qqq0 t0 LIMIT 0, 20000
  152. /**
  153. output()
  154. **/;