too_many_columns.json 552 B

12345678910111213141516171819
  1. {
  2. "type": "SQLOperator",
  3. "node_name": ["HDFS_SCAN_NODE", "KUDU_SCAN_NODE", "HBASE_SCAN_NODE"],
  4. "collapse": true,
  5. "metric_names": [
  6. "NumColumns",
  7. "LocalTime"
  8. ],
  9. "unit": 5,
  10. "rule": {
  11. "condition": "vars['NumColumns'] > 15",
  12. "expr": "float(vars['NumColumns'] - 15) / float(vars['NumColumns']) * vars['LocalTime']",
  13. "message": "Number of materialized columns is high (>15). Consider materializing less columns to improve the performance.",
  14. "label": "Many Materialized Columns"
  15. },
  16. "fix": {
  17. "fixable": false
  18. }
  19. }