<commit_before>## test FROM_DAYS function
## Related bugs: 986397
#--- ZERO DATE not handled correctly FTS
#- Statement: SELECT FROM_DAYS(0);
#- output_types: [DATE]
#- output: [['0000-00-00']]
#--- ZERO-DATE not handled correctly by FTS
#- Statement: SELECT FROM_DAYS(-1);
#- output: [['0000-00-00']]
---
- Statement: SELECT from_days(734980);
- output: [['2012-04-22']]
---
- Statement: SELECT FROM_DAYS(366);
- output: [['0001-01-01']]
#---
#- Statement: SELECT FROM_DAYS(-35);
#- output: [['0000-00-00']]
#---
#- Statement: SELECT FROM_DAYS(10);
#- output: [['0000-00-00']]
#---
#- Statement: SELECT FROM_DAYS(365);
#- output: [['0000-00-00']]
---
- Statement: SELECT FROM_DAYS(null);
- output: [[null]]
...
<commit_msg>More FROM_DAYS testing<commit_after>---
- Statement: SELECT FROM_DAYS(null);
- output: [[null]]
---
- Statement: SELECT FROM_DAYS(-1) = '0000-00-00'
- output: [[true]]
---
- Statement: SELECT FROM_DAYS(0) = '0000-00-00'
- output: [[true]]
---
- Statement: SELECT FROM_DAYS(365) = '0000-00-00'
- output: [[true]]
---
- Statement: SELECT FROM_DAYS(366)
- output: [['0001-01-01']]
---
- Statement: SELECT FROM_DAYS(730669)
- output: [['2000-07-03']]
---
- Statement: SELECT from_days(734980);
- output: [['2012-04-22']]

{'fraction_non_alphanumeric': 0.2401289282836422, 'fraction_numerical': 0.11925866236905722, 'mean_word_length': 3.7404580152671754, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2407841', 'n_tokens_mistral': 590, 'n_tokens_neox': 485, 'n_words': 102}