Git Product home page Git Product logo

trino.io's Introduction

trino.io

Trino Logo

The source for the Trino community website available at https://trino.io/.

The site uses Jekyll and markdown. It is hosted on Netlify.

Build and run locally

In general, you need Ruby, gems, Bundler, Jekyll, and Netlify Dev.

Detailed steps for macOS follow below. Similar commands work for various Linux distributions.

macOS initial setup

Install Ruby in Homebrew:

brew install ruby

Add Homebrew Ruby in front of system Ruby. Use this form of the command to accommodate both Intel and Apple M1 based Macs. The back quotes are important:

PATH=`brew --prefix`/opt/ruby/bin:$PATH

Run the next few commands from the root of your clone of this repo.

Install bundler:

gem install bundler

Install gems for site:

bundle install

Install Netlify CLI:

brew install netlify-cli

Run server

Run server using Netlify Dev:

netlify dev

With the server running you can access the site on http://localhost:4000.

Additional notes

Verify pages render correctly on phone

You can run the server on your computer and then verify the pages render correctly on a phone. There are two ways to do that:

  • Access the IP address of your computer on your local network from your phone.

  • Run netlify dev --live to create a publicly accessible tunnel that can be accessed from anywhere over the internet.

View future posts

Posts with future dates do not normally render. You can override the default Jekyll invocation to add the --future option to see these.

netlify dev -c 'bundle exec jekyll serve --future'

trino.io's People

Contributors

arhimondr avatar bitsondatadev avatar chaho12 avatar cindyngo44 avatar colebow avatar dain avatar dependabot[bot] avatar ebyhr avatar electrum avatar findepi avatar hashhar avatar istvanm avatar jefflester avatar jessie212 avatar kasiafi avatar kylefraser avatar lewuathe avatar martint avatar monimiller avatar mosabua avatar phd3 avatar posulliv avatar romainr avatar rosewms avatar ryandoowan avatar rzeyde-varada avatar sbernauer avatar shubhamtagra avatar takezoe avatar vijaymann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

trino.io's Issues

Slack links are expired.

Sorry, left this note else where but then realized the website has it's own issue tracker.

All links to slack are expired on the main webpage.

JDBC driver

Trying to download Trino JDBC driver from the Resources web page gives 404 File not found:

Full info of the error

404
File not found

The site configured at this address does not contain the requested file.

If this is your site, make sure that the filename case matches the URL.
For root URLs (like http://example.com/) you must provide an index.html file.

[Read the full documentation](https://help.github.com/pages/) for more information about using GitHub Pages.

I don't know the best place to report this, if it’s not here, please let me know.

Allow multiple authenticators to be used simultaneously

As of now you can only configure one password authenticator. I would like to be able to use at least two of them at the same time.

My use case for this is as follows, we have users on our ActiveDirectory account, which are allowed multiple things including access to presto, and we have what we call service accounts, which are user/pass combinations used for communication between services, this are rotated often and usually generated on demand. I would like to be able to configure LDAP as the default authentication mechanism with a fallback to FILE for this service accounts.

The thread about this issue on slack

LDAP auth not working if user belongs to multiple groups

That was the configuration that works perfectly before migration to presto:330.

ldap.url=ldaps://prod.gold.cds.ing.net:636
ldap.user-bind-pattern=uid=${USER},ou=People,o=COMPANY

ldap.user-base-dn=ou=PRESTO,ou=Services,ou=Groups,o=COMPANY
ldap.group-auth-pattern=uniqueMember=uid=${USER},ou=People,o=COMPANY

On the newest version we are facing below error:
Error running command: Authentication failed: Access Denied: Multiple group membership results for user [XYZ] with different distinguished names

I have tried to change the pattern to sth like that:

(|(&(uniqueMember=uid=${USER},ou=People,o=COMPANY)(cn=group1))(&(uniqueMember=uid=${USER},ou=People,o=COMPANY)(cn=group2)))

But that give the same result. My question is:

what is the idea behind that change? Is there any workaround for that?

prestosql查询es

{"error":{"root_cause":[{"type":"parse_exception","reason":"Failed to parse content to map"}],"type":"parse_exception","reason":"Failed to parse content to map","caused_by":{"type":"json_parse_exception","reason":"Unexpected character ('}' (code 125)): was expecting double-quote to start field name\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@737fb8ac; line: 13, column: 10]"}},"status":400}

当ES中有字段类型为Array类型时,
按照官方https://prestosql.io/docs/current/connector/elasticsearch.html#array-types
使用presto终端执行会出现如上的错误。遇到这种情况怎么处理

Data skew optimization have no effect on view

we are working on prestosql 322, and find the following problem:
when data skew in a group-by operation happens, presto hive can automatically optimize the Query Plan by add a stage to balance the load of the skew node; while if we query an VIEW, the optimization have not effect,if the issue can be improved by adjust the properties?

the following is the Tasks table of query:
when query a hive table with SQL:

select statTime,sum(uv) as uv from (select 201909 as statTime,distinct_id,1 as uv from event where ds between 20190901 and 20190930 group by 1,2) group by 1

image

when query a view with SQL:
tips: the view is the union of hive table event and an empty kudu table.

select statTime,sum(uv) as uv from (select 201909 as statTime,distinct_id,1 as uv from event_vd where ds between 20190901 and 20190930 group by 1,2) group by 1

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.