{"id":392,"date":"2017-09-10T15:14:21","date_gmt":"2017-09-10T15:14:21","guid":{"rendered":"https:\/\/jpbydesign.com\/?p=392"},"modified":"2017-09-10T15:14:21","modified_gmt":"2017-09-10T15:14:21","slug":"impala-sql-requirements","status":"publish","type":"post","link":"https:\/\/jpbydesign.com\/index.php\/2017\/09\/10\/impala-sql-requirements\/","title":{"rendered":"Impala SQL requirements"},"content":{"rendered":"<p>One of the things I am finding working more and more with Impala&#8230; specifically creating views and tables with impala sql&#8230; is that I have to be very specific when I am developing.  <\/p>\n<p>Impala sql is case sensitive.  This means that if you capitalize &#8220;RowCreateDateTime&#8221; initially, every time you refer to that field it must be with the exact same case (upper and lower texts).  Thus, &#8220;rowCreateDateTime&#8221; doesn&#8217;t refer to the same field as above because the r is lowercase in this instance.  <\/p>\n<p>Additionally, while the datatypes are supposed to be cast automatically, I find that it is not consistent.  I am now specifically casting any non-string field specifically.  I am also trimming each field before casting as I find the ingestion techniques that the ingestion team is using tends to pad some records\/fields with lots of spaces at the beginning or end.  Trimming takes care of that.<\/p>\n<p>I am becoming more and more comfortable with using Impala&#8230; especially through the Hue web interface.<\/p>\n<p>What do you think of Impala?<\/p>\n<p>John<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the things I am finding working more and more with Impala&#8230; specifically creating views and tables with impala sql&#8230; is that I have to be very specific when I am developing. Impala sql is case sensitive. This means that if you capitalize &#8220;RowCreateDateTime&#8221; initially, every time you refer to that field it must [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4],"tags":[49,48,47],"class_list":["post-392","post","type-post","status-publish","format-standard","category-database","tag-hue","tag-impala","tag-sql","czr-hentry"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7Ze6V-6k","jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/jpbydesign.com\/index.php\/wp-json\/wp\/v2\/posts\/392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpbydesign.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpbydesign.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpbydesign.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jpbydesign.com\/index.php\/wp-json\/wp\/v2\/comments?post=392"}],"version-history":[{"count":1,"href":"https:\/\/jpbydesign.com\/index.php\/wp-json\/wp\/v2\/posts\/392\/revisions"}],"predecessor-version":[{"id":393,"href":"https:\/\/jpbydesign.com\/index.php\/wp-json\/wp\/v2\/posts\/392\/revisions\/393"}],"wp:attachment":[{"href":"https:\/\/jpbydesign.com\/index.php\/wp-json\/wp\/v2\/media?parent=392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpbydesign.com\/index.php\/wp-json\/wp\/v2\/categories?post=392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpbydesign.com\/index.php\/wp-json\/wp\/v2\/tags?post=392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}