Currently it will only throw import error if the dependent packages are not installed
Describe the solution you'd like
see https://github.com/apache/arrow-datafusion-python/pull/380/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R51-R54
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Currently it will only throw import error if the dependent packages are not installed
Describe the solution you'd like
see https://github.com/apache/arrow-datafusion-python/pull/380/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R51-R54
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.