[
https://issues.apache.org/jira/browse/PHOENIX-6973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17765277#comment-17765277
]
ASF GitHub Bot commented on PHOENIX-6973:
-----------------------------------------
payert commented on code in PR #1672:
URL: https://github.com/apache/phoenix/pull/1672#discussion_r1326279327
##########
phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableNoVerifyIT.java:
##########
@@ -0,0 +1,134 @@
+/*
+ * 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.
+ */
+package org.apache.phoenix.end2end;
+
+import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNull;
+
+import org.apache.hadoop.hbase.HConstants;
+import org.apache.hadoop.hbase.KeepDeletedCells;
+import org.apache.hadoop.hbase.TableName;
+import org.apache.hadoop.hbase.client.Admin;
+import org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder;
+import org.apache.hadoop.hbase.client.Get;
+import org.apache.hadoop.hbase.client.Put;
+import org.apache.hadoop.hbase.client.Result;
+import org.apache.hadoop.hbase.client.Row;
+import org.apache.hadoop.hbase.client.Table;
+import org.apache.hadoop.hbase.client.TableDescriptorBuilder;
+import org.apache.hadoop.hbase.util.Bytes;
+import org.apache.phoenix.query.ConnectionQueryServices;
+import org.apache.phoenix.util.ByteUtil;
+import org.apache.phoenix.util.PropertiesUtil;
+import org.apache.phoenix.util.SchemaUtil;
+import org.junit.Test;
+import org.junit.experimental.categories.Category;
+
+import java.io.IOException;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.SQLException;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Test the NOVERIFY option of CREATE TABLE.
+ */
+@Category(ParallelStatsDisabledTest.class)
Review Comment:
done
> Add option to CREATE TABLE to skip verification of HBase table
> --------------------------------------------------------------
>
> Key: PHOENIX-6973
> URL: https://issues.apache.org/jira/browse/PHOENIX-6973
> Project: Phoenix
> Issue Type: New Feature
> Components: core
> Reporter: Tamas Payer
> Assignee: Tamas Payer
> Priority: Major
> Fix For: 5.2.0
>
>
> When a Phoenix table is restored from snapshot we should have the option to
> skip the lengthy validation process. CREATE TABLE should have an option to
> skip the verification.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)