Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

132
Views
Soltar columna de valor nulo en chispa

Tengo el siguiente código dado

 ataset.select("Lead Owner").show(); dataset.filter(dataset.col("Lead Owner").isNotNull()); dataset.select("Lead Owner").show();

Pero no está eliminando filas que tienen un valor nulo para la columna Propietario principal. ¿Alguien puede decir qué mal estoy haciendo aquí?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Los conjuntos de datos son inmutables. dataset.filter es una transformación y devolverá un nuevo conjunto de datos, en lugar de modificar el original. Consulte los documentos de DataSet

 val filteredData = dataset.filter(dataset.col("Lead Owner").isNotNull()); filteredData.select("Lead Owner").show();
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!