Perform minor refactoring: use config
@lhoestq is there a problem in the master branch? I got a segmentation fault...
```
tests/test_table.py::test_concatenation_table_cast[in_memory] Fatal Python error: Segmentation fault
``` Oh wow. Let me re-run the CI just to make sure Hmm interesting, the segfault is still there. I'm investigating this issue on my windows machine Feel free to merge master into this branch to fix the CI :)
Perform minor refactoring related to `config`.