probability.py 855 B

1234567891011121314151617181920
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. HORIZONTAL_LAYOUT_WHEN_NOT_AGGREGATED = 0.9
  10. HORIZONTAL_LAYOUT_WHEN_AGGREGATED = 0.1
  11. CREATE_COMPLEX_EXPRESSION = 0.2
  12. RESTRICT_VERTICAL_LAYOUT_TO_ROWS_DISABLED_FOR_ALL_SOURCES = 0.1
  13. RESTRICT_VERTICAL_LAYOUT_TO_ROWS_DISABLED_FOR_SOURCE = 0.3
  14. RESTRICT_VERTICAL_LAYOUT_ONLY_TO_FEW_ROWS = 0.8
  15. GENERATE_WHERE_EXPRESSION = 0.1
  16. INCLUDE_COLUMN_IN_FIRST_TABLE = 0.75
  17. INCLUDE_COLUMN_IN_OTHER_TABLE = 0.4
  18. COLUMN_SELECTION_ADDITIONAL_CHANCE_FOR_FIRST_TABLE = 0.5
  19. NO_SOURCE_MINIMIZATION = 0.1