Hi Community, I found that if I match the table columns order and dataframe
order through below way, then it works.

_df
        .select(
          "market_code", "product_id", "country_code", "category_id",
"company_id", "name", "company", "release_date", "price", "version",
          "description", "ss_urls", "size", "web_urls", "created",
"content_rating", "privacy_policy_url", "last_updated", "has_iap", "status",
          "current_release_date", "original_price", "sensitive_status",
"artwork_url", "slug", "scrape_reviews", "date_scraped", "scrape_failed",
          "dead", "sku", "req_version", "req_device", "has_game_center",
"is_mac", "languages", "support_url", "license_url", "link_apps",
          "scrape_review_delay", "requirements", "app_store_notes",
"bundle_id", "product_type", "bundle_product_count", "family_sharing",
          "purchased_separately_price", "seller", "required_devices",
"has_imsg", "is_hidden_from_springboard", "subtitle", "promotional_text",
          "editorial_badge_type", "editorial_badge_name", "only_32_bit",
"class", "installs", "require_os", "downloads_chart_url", "video_url",
          "icon_url", "banner_image_url", "permissions", "whats_new",
"related_apps", "also_installed_apps", "more_from_developer_apps",
          "is_publisher_top", "publisher_email", "scrape_review_status",
"company_code", "source"
        )
        .write
        .format("carbondata")
        .option("tableName", s"${tableName}")
        .option("compress", "true")
        .mode(SaveMode.Append)
        .save()





--
Sent from: 
http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/

Reply via email to