samredai commented on code in PR #252: URL: https://github.com/apache/iceberg-docs/pull/252#discussion_r1269791715
########## landing-page/content/common/hive-quickstart.md: ########## @@ -0,0 +1,124 @@ +--- +title: "Hive and Iceberg Quickstart" +weight: 100 +url: hive-quickstart +aliases: + - "quickstart" + - "quickstarts" + - "getting-started" +disableSidebar: true +disableToc: true +--- +<!-- + - Licensed to the Apache Software Foundation (ASF) under one or more + - contributor license agreements. See the NOTICE file distributed with + - this work for additional information regarding copyright ownership. + - The ASF licenses this file to You under the Apache License, Version 2.0 + - (the "License"); you may not use this file except in compliance with + - the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, software + - distributed under the License is distributed on an "AS IS" BASIS, + - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + - See the License for the specific language governing permissions and + - limitations under the License. + --> + +<!-- {{% quickstarts %}} --> + +## Hive and Iceberg Quickstart + +This guide will get you up and running with an Iceberg and Hive environment, including sample code to +highlight some powerful features. You can learn more about Iceberg's Hive runtime by checking out the [Hive](../docs/latest/hive/) section. + +- [Docker Images](#docker-images) +- [Creating a Table](#creating-a-table) +- [Writing Data to a Table](#writing-data-to-a-table) +- [Reading Data from a Table](#reading-data-from-a-table) +- [Next Steps](#next-steps) + +### Docker Images + +The fastest way to get started is to use [Apache Hive images](https://hub.docker.com/r/apache/hive) +which provides a SQL-like interface to create and query Iceberg tables from your laptop. You need to install the [Docker Desktop](https://www.docker.com/products/docker-desktop/). + +Take a look at the Tags tab in [Apache Hive docker images](https://hub.docker.com/r/apache/hive/tags?page=1&ordering=-last_updated) to see the available Hive versions. + +Set the version variable. For example: +```sh +export HIVE_VERSION=4.0.0-alpha-2 +``` + +Start the container, using the option --platform linux/amd64 for a Mac with an M-Series chip: Review Comment: Backticks around `–platform linux/amd64` would be helpful here. ########## landing-page/content/common/hive-quickstart.md: ########## @@ -0,0 +1,124 @@ +--- +title: "Hive and Iceberg Quickstart" +weight: 100 +url: hive-quickstart +aliases: + - "quickstart" + - "quickstarts" + - "getting-started" +disableSidebar: true +disableToc: true +--- +<!-- + - Licensed to the Apache Software Foundation (ASF) under one or more + - contributor license agreements. See the NOTICE file distributed with + - this work for additional information regarding copyright ownership. + - The ASF licenses this file to You under the Apache License, Version 2.0 + - (the "License"); you may not use this file except in compliance with + - the License. You may obtain a copy of the License at + - + - http://www.apache.org/licenses/LICENSE-2.0 + - + - Unless required by applicable law or agreed to in writing, software + - distributed under the License is distributed on an "AS IS" BASIS, + - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + - See the License for the specific language governing permissions and + - limitations under the License. + --> + +<!-- {{% quickstarts %}} --> + +## Hive and Iceberg Quickstart + +This guide will get you up and running with an Iceberg and Hive environment, including sample code to +highlight some powerful features. You can learn more about Iceberg's Hive runtime by checking out the [Hive](../docs/latest/hive/) section. + +- [Docker Images](#docker-images) +- [Creating a Table](#creating-a-table) +- [Writing Data to a Table](#writing-data-to-a-table) +- [Reading Data from a Table](#reading-data-from-a-table) +- [Next Steps](#next-steps) + +### Docker Images + +The fastest way to get started is to use [Apache Hive images](https://hub.docker.com/r/apache/hive) +which provides a SQL-like interface to create and query Iceberg tables from your laptop. You need to install the [Docker Desktop](https://www.docker.com/products/docker-desktop/). + +Take a look at the Tags tab in [Apache Hive docker images](https://hub.docker.com/r/apache/hive/tags?page=1&ordering=-last_updated) to see the available Hive versions. + +Set the version variable. For example: +```sh +export HIVE_VERSION=4.0.0-alpha-2 +``` + +Start the container, using the option --platform linux/amd64 for a Mac with an M-Series chip: Review Comment: Backticks around `–platform linux/amd64` would be helpful here. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
