Package com.facebook.presto.hive

Examples of com.facebook.presto.hive.HiveViewNotSupportedException


                        throws Exception
                {
                    try (HiveMetastoreClient client = clientProvider.createMetastoreClient()) {
                        Table table = client.get_table(hiveTableName.getDatabaseName(), hiveTableName.getTableName());
                        if (table.getTableType().equals(TableType.VIRTUAL_VIEW.name()) && (!isPrestoView(table))) {
                            throw new HiveViewNotSupportedException(new SchemaTableName(hiveTableName.getDatabaseName(), hiveTableName.getTableName()));
                        }
                        return table;
                    }
                }
            }));
View Full Code Here


                        throws Exception
                {
                    try (HiveMetastoreClient client = clientProvider.createMetastoreClient()) {
                        Table table = client.get_table(hiveTableName.getDatabaseName(), hiveTableName.getTableName());
                        if (table.getTableType().equals(TableType.VIRTUAL_VIEW.name()) && (!isPrestoView(table))) {
                            throw new HiveViewNotSupportedException(new SchemaTableName(hiveTableName.getDatabaseName(), hiveTableName.getTableName()));
                        }
                        return table;
                    }
                }
            }));
View Full Code Here

                        throws Exception
                {
                    try (HiveMetastoreClient client = clientProvider.createMetastoreClient()) {
                        Table table = client.get_table(hiveTableName.getDatabaseName(), hiveTableName.getTableName());
                        if (table.getTableType().equals(TableType.VIRTUAL_VIEW.name()) && (!isPrestoView(table))) {
                            throw new HiveViewNotSupportedException(new SchemaTableName(hiveTableName.getDatabaseName(), hiveTableName.getTableName()));
                        }
                        return table;
                    }
                }
            }));
View Full Code Here

                        throws Exception
                {
                    try (HiveMetastoreClient client = clientProvider.createMetastoreClient()) {
                        Table table = client.get_table(hiveTableName.getDatabaseName(), hiveTableName.getTableName());
                        if (table.getTableType().equals(TableType.VIRTUAL_VIEW.name()) && (!isPrestoView(table))) {
                            throw new HiveViewNotSupportedException(new SchemaTableName(hiveTableName.getDatabaseName(), hiveTableName.getTableName()));
                        }
                        return table;
                    }
                }
            }));
View Full Code Here

TOP

Related Classes of com.facebook.presto.hive.HiveViewNotSupportedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.