Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Data Engineering Integration
  3. Mappings
  4. Mapping Optimization
  5. Sources
  6. Targets
  7. Transformations
  8. Python Transformation
  9. Data Preview
  10. Cluster Workflows
  11. Profiles
  12. Monitoring
  13. Hierarchical Data Processing
  14. Hierarchical Data Processing Configuration
  15. Hierarchical Data Processing with Schema Changes
  16. Intelligent Structure Models
  17. Blockchain
  18. Stateful Computing
  19. Appendix A: Connections Reference
  20. Appendix B: Data Type Reference
  21. Appendix C: Function Reference

Rules and Guidelines for Sqoop Queries

Rules and Guidelines for Sqoop Queries

Consider the following rules and guidelines when you configure a Sqoop query in a mapping:
  • To override the default query in a mapping with an advanced query, you must define a mapping parameter with the name as
    CONDITIONS
    and set its value to
    $CONDITIONS
    . You must then include
    $CONDITIONS
    in the WHERE clause of the custom query.
    Ensure that you include
    $CONDITIONS
    only after you validate the advanced query. After you add
    $CONDITIONS
    , an error message appears stating that the query is not valid. You can ignore this message.
    For more information about configuring the custom query, see the following Informatica Knowledge Base article: KB 564550
  • If you define a custom query, you must verify that the metadata of the custom query matches the metadata of the source object. Otherwise, Sqoop might write blank values to the target.
  • When you enable OraOop and configure an advanced query to read data from an Oracle source through Sqoop, the mapping fails on the Spark engine.

0 COMMENTS

We’d like to hear from you!