Principais perguntas e respostas de entrevista e testes online
Plataforma educacional para preparacao de entrevistas, testes online, tutoriais e pratica ao vivo

Desenvolva habilidades com trilhas de aprendizado focadas, simulados e conteudo pronto para entrevistas.

WithoutBook reune perguntas de entrevista por assunto, testes praticos online, tutoriais e guias comparativos em um unico espaco de aprendizado responsivo.

Preparar entrevista

Simulados

Definir como pagina inicial

Adicionar esta pagina aos favoritos

Assinar endereco de e-mail

Sqoop perguntas e respostas de entrevista

Pergunta 16. What is the purpose of the --direct-import option in Sqoop?

The --direct-import option is used to import data directly into the database without using HDFS as an intermediate storage.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 17. Explain the purpose of the --query option in Sqoop.

The --query option allows you to specify a SQL SELECT statement to retrieve data during Sqoop import.

Example:

sqoop import --connect jdbc:mysql://localhost:3306/db --query SELECT * FROM mytable WHERE $CONDITIONS --split-by id

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 18. What is the purpose of the --null-string and --null-non-string options in Sqoop?

These options are used to specify the representation of NULL values in the imported data for string and non-string columns, respectively.

Example:

sqoop import --connect jdbc:mysql://localhost:3306/db --table mytable --null-string --null-non-string -1

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 19. Explain the purpose of the --boundary-query option in Sqoop.

The --boundary-query option allows you to specify a SQL query that is used to determine the range of values for the splitting column.

Example:

sqoop import --connect jdbc:mysql://localhost:3306/db --table mytable --boundary-query SELECT MIN(id), MAX(id) FROM mytable

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 20. What is the purpose of the --validate option in Sqoop?

The --validate option is used to perform data validation during import by comparing the source and target data counts.

Example:

sqoop import --connect jdbc:mysql://localhost:3306/db --table mytable --validate

Isto e util? Adicionar comentario Ver comentarios
 

Mais uteis segundo os usuarios:

Copyright © 2026, WithoutBook.