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 21. 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 22. How can you import data into Hive using Sqoop?

You can import data into Hive using Sqoop by specifying the --hive-import option along with the target Hive table using --hive-table.

Example:

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

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 23. What is the purpose of the --columns option in Sqoop?

The --columns option allows you to specify a comma-separated list of columns to import, excluding others from the source table.

Example:

sqoop import --connect jdbc:mysql://localhost:3306/db --table mytable --columns id,name

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 24. Explain the purpose of the --hive-overwrite option in Sqoop.

The --hive-overwrite option in Sqoop is used to overwrite existing data in the Hive table during import.

Example:

sqoop import --connect jdbc:mysql://localhost:3306/db --table mytable --hive-import --hive-table myhivetable --hive-overwrite

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 25. What is the purpose of the --fetch-size option in Sqoop?

The --fetch-size option specifies the number of rows to fetch in each round trip between Sqoop and the database during import.

Example:

sqoop import --connect jdbc:mysql://localhost:3306/db --table mytable --fetch-size 100

Isto e util? Adicionar comentario Ver comentarios
 

Mais uteis segundo os usuarios:

Copyright © 2026, WithoutBook.