cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Read VCF files using latest runtime version

nachog99
New Contributor II

Hello everyone!

I was reading VCF files using the glow library (Maven: io.projectglow:glow-spark3_2.12:1.2.1).

The last version of this library only works with the spark's version 3.3.2 so if I need to use a newer runtime with a more recent spark version I receive an error because they aren't compatible.

How can I fix that? Does anyone know a different way to read VCF files? Or should I stick to a specific spark version to use this library

If someone have an idea I will appreciate it 

1 REPLY 1

Kaniz
Community Manager
Community Manager

Hi @nachog99Working with VCF (Variant Call Format) files in Spark can be done using various approaches. Let’s explore some options:

  1. Glow Library:

    • You’ve already been using the Glow library (Maven: io.projectglow:glow-spark3_2.12:1.2.1) to read VCF files. However, as you mentioned, it’s tied to Spark version 3.3.2.
    • If you want to use a newer Spark runtime with a more recent Spark version, you’ll need to address the compatibility issue.
    • One way to proceed is to check if there are any updated versions of the Glow library that support the Spark version you’re interested in. Keep an eye on their official documentation or community discussions for any announcements regarding...1.
  2. Native Spark VCF Reader:

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!