text:
Vídeo 2 - Inscrição para os auxílios socioeconômicos

Essa demanda faz parte do projeto vídeos para o SAE – Campanha: “Como eu faço? O auxílio que você precisa aqui na UFFS!”. Descrito em #514
Título: Inscrição para auxílios socioeconômicos
Informações passadas pelo solicitante para elaboração do roteiro:

Se você ingressou na UFFS neste semestre e comprovou renda na matrícula, já pode se inscrever  para receber os auxílios. Para isso você deve/Se liga no passo a passo:
Imagem site - Acesse o SAS (portal do aluno -> análise socioeconômica), preencha o formulário de cadastro socioeconômico, cadastre a conta corrente em seu nome e faça a inscrição para receber os auxílios gerais (alimentação e estudantil). (ao acessar o SAS é importante excluir dados de identificação. se quiserem, temos um ambiente de homologação que embaralha os dados)
Após, a documentação necessária deve ser entregue no SAE
Imagem site - (Atenção: a lista de documentos está disponível no site da UFFS em: assistência estudantil -> análise socioeconômica)
Agora, se você não comprovou renda para o ingresso na UFFS ou ingressou em um semestre anterior/já é veterano antes de inscrever-se nos auxílios, será necessário realizar sua análise socioeconômica. Se liga no passo a passo:
Imagem site: Acesse o SAS - Sistema de Análise Socioeconômica (portal do aluno -> análise socioeconômica), preencha o formulário de cadastro socioeconômico
Animação: Entregue a documentação necessária no SAE
Imagem site: Atenção: a lista de documentação necessária está disponível no site da UFFS em: assistência estudantil -> análise socioeconômica)
Após a finalização da sua análise, você receberá um e-mail informando o seu IVS e então poderá se inscrever nos auxílios.

*Em destaque, sugestões dos solicitantes para a edição.
** Responsável pela edição também fica responsável pelas gravações de tela.
*** Colocar na descrição deste vídeo “durante a pandemia a entrega da documentação é por e-mail.”

[ ] Elaborar o roteiro conforme os apontamentos dos solicitantes.
[ ] Definir responsável pela gravação (acadêmico voluntário).
[ ] Gravar vídeo.
[ ] Gravar chamada (em formato de storie para o Instagram).
[ ] Gravar audiodescrição, se necessário.
[ ] Editar vídeo conforme o roteiro.
[ ] Enviar vídeo para intérprete de Libras.
[ ] Anexar vídeo da intérprete.
[ ] Encaminhar produto aos solicitantes.
[ ] Fazer adequações, se necessário.

@practice-uffs/con-conteudo, vocês podem nos auxiliar na construção dos roteiros desse projeto?

@practice-uffs/con-conteudo, vocês podem nos auxiliar na construção dos roteiros desse projeto?

Com certeza! Amanhã pela manhã terá reunião de equipe! Vou conversar com as gurias para ver quem está disponível para trabalhar comigo na construção e revisão 🙂🙂

@practice-uffs/con-conteudo, vocês podem nos auxiliar na construção dos roteiros desse projeto?

Eu e a @thaliafriedrich ficaremos responsáveis pelo roteiro! Assim que possível darei início a primeira versão.

A primeira versão do roteiro está pronta! @thaliafriedrich pode fazer a revisão?
@MilenaPaz2020 preciso tirar algumas dúvidas contigo:

No roteiro 1, há um pequeno roteiro abaixo para que seja publicado no Instagram pelo que entendi. Devo fazer o mesmo para esse roteiro?
No roteiro 1, o texto original é da Lilian Simioni, o mesmo é válido para as informações deste roteiro?

A primeira versão do roteiro está pronta! @thaliafriedrich pode fazer a revisão?
@MilenaPaz2020 preciso tirar algumas dúvidas contigo:

No roteiro 1, há um pequeno roteiro abaixo para que seja publicado no Instagram pelo que entendi. Devo fazer o mesmo para esse roteiro?
No roteiro 1, o texto original é da Lilian Simioni, o mesmo é válido para as informações deste roteiro?

@GessicaZanon, para ambas as perguntas a resposta é afirmativa. Fiz uma leitura preliminar do roteiro e gostei muito, parabéns! Estando a revisão finalizada eu encaminho para os solicitantes.

Revisei o roteiro. Ficou bem legal, parabéns! Como já tem a base do roteiro dos solicitantes, acredito que não é para acrescentar mais informações. Só fiz pequenas alterações e também já criei o roteiro pequeno para a chamada nas redes sociais, adaptando do vídeo 1, @GessicaZanon pode verificar e ficar a vontade para fazer qualquer alteração. Após isso, a revisão está finalizada.

Muito obrigada @thaliafriedrich!
Obrigada @MilenaPaz2020! O roteiro está pronto, pode ser encaminhado ao solicitante!

A @morgana-mo se voluntariou para a gravação do vídeo 2. :D

Gurias já posso gravar ou o roteiro ainda necessita de aprovação?

Gurias já posso gravar ou o roteiro ainda necessita de aprovação?

O solicitante havia sugerido algumas alterações e elas foram feitas, então acredito que o roteiro esteja liberado!!
Por via de dúvida, irei mandar um e-mail a Amanda confirmando essa informação, assim que tiver o retorno, te aviso!

Gurias já posso gravar ou o roteiro ainda necessita de aprovação?

A solicitante confirmou, já pode dar início a gravação, Morgana!

Gravei os aúdios mas não sei se a acústica aqui do apartamento colaborou. Mais tarde gravo os vídeos e a gente vê se eu vou precisar regravar alguns trechos ou não

Gravei dois vídeos,o que vocês acham gravo de novo em outro local?

Gravei dois vídeos,o que vocês acham gravo de novo em outro local?

Olha, na minha opinião, o local está ótimo! O ambiente é claro, não teve interferência e tua voz tá bem limpa!

Gravei dois vídeos,o que vocês acham gravo de novo em outro local?

Na minha opinião, ficaram bem legais! O local está adequado, silencioso e iluminado. O som está ótimo também!

Coloquei na pasta de entrada uma a narração em forma de vídeo e também uma nova versão "inteira" sem pausas do vídeo decidam qual fica melhor e se for necessário gravar novamente é só falar

Boa tarde.
Escrevo para falar em relação ao estilo da fonte utilizada (trashHand). Ela não possui o acento til (~).
Então, o "inscrição" ficou escrito como "inscriçao".
Não me parece ser um problema devido ao estilo da letra, mas já estou avisando.
Caso a solicitante ache um problema, podemos pensar em criar um acento e utilizar.

Boa tarde @MilenaPaz2020.
Você poderia pedir que a solicitante disponibilize o SAS "fake" para fazer a gravação de tela?
Pedi isso no documento do roteiro, porém pode ser que ela não veja.

Boa tarde @MilenaPaz2020.
Você poderia pedir que a solicitante disponibilize o SAS "fake" para fazer a gravação de tela?
Pedi isso no documento do roteiro, porém pode ser que ela não veja.

Pedido efetuado. Aguardando resposta.

Boa tarde pessoal.
Fiz o vídeo para a chamada no insta. Está na pasta de entrada!
Aguardo Feedback.

Show!

Boa tarde.
Escrevo para falar em relação ao estilo da fonte utilizada (trashHand). Ela não possui o acento til (~).
Então, o "inscrição" ficou escrito como "inscriçao".
Não me parece ser um problema devido ao estilo da letra, mas já estou avisando.
Caso a solicitante ache um problema, podemos pensar em criar um acento e utilizar.

Eu posso desenhar um acento se necessário, de acordo com o que ela responder é só avisar que eu faço

Bom dia @luizatonial.
Como comentado na reunião, está é a issue que deverá ter a tela gravada.
Peço que, quando for gravar, grave em 1080p e tire a barra de tarefas do windows, para que siga o padrão.
Acredito que seguindo o roteiro você consiga fazer tudo certinho, qualquer dúvida só me chamar.

Como combinado no grupo do mídia, devido à alguns empecilhos, vamos esperar realmente a conta "fake" do para gravar o procedimento do SAS.

Boa noite @morgana-mo
Como você já comentou, você poderia fazer o acento til no modelo de letra que usamos?
Acredito que vá ficar melhor se utilizarmos os acentos de maneira correta.

Boa noite @morgana-mo
Como você já comentou, você poderia fazer o acento til no modelo de letra que usamos?
Acredito que vá ficar melhor se utilizarmos os acentos de maneira correta.

Faço sim, vou abrir uma issue e amanhã já providencio!

Boa tarde pessoal.
O vídeo 2 da campanha está na pasta de entrada. Aguardo feedback!

Ah, gente... Que vídeo lindo! Parabéns, @morgana-mo por contribuir tanto conosco e topar essa empreitada! Parabéns, @robisonjose pela edição incrível! Não tenho sugestões de melhorias...
@practice-uffs/con-midia, o que acharam?

Eu achei muito bommm! Parabéns a todos os envolvidos.

Concordo com as meninas, ficou muito bom! Parabéns!!

Boa noite pessoal. Os vídeos finalizados estão na pasta de saída.
Aguardo feedback.
@practice-uffs/con-conteudo @practice-uffs/con-midia

Vídeo revisado! Excelente!
A @Eweline se diponibilizou para a revisão das legendas.

Parabéns! Muito bom o material!

Parabéns! Ficou muito bom!!

Boa noite, @robisonjose .
O vídeo está muito bom. Adorei a Morgana hehehe
A explicação e animações estão ótimas.
Segue as revisões na legenda (com comentários após ==), o arquivo já está na pasta de saída. Revisões apenas no Vídeo 2; na Chamada 2 nada precisa ser alterado.
O que foi alterado
Vídeo 2
11
00:00:43,928 --> 00:00:51,439
Acesse o Sistema de Análise Socioeconômica (SAS), através do
Portal do Aluno, em “Análise Socioeconômica”.
       == Portal do Aluno em maiúscula, assim como está no site da UFFS. Colocado entre vírgulas, como explicação.
12
00:00:53,296 --> 00:00:56,167
Feito isso, você deve seguir os seguintes passos:
       == dois pontos
13
00:00:56,167 --> 00:00:59,106
preencha o formulário de cadastro socioeconômico;
       == letra minúscula e finaliza com ponto e vírgula, para dar unidade à seção.
14
00:00:59,106 --> 00:01:03,801
cadastre os dados bancários, que devem ser de uma conta corrente em seu nome;
       == mesma coisa anterior.
15
00:01:03,801 --> 00:01:09,976
realize a inscrição para receber os auxílios gerais: alimentação e estudantil.
       == letra minúscula e ponto final (último item).
21
00:01:26,937 --> 00:01:31,418
na aba “Assistência Estudantil”, em “análise socioeconômica”.
       == Estudantil maiúsculo.
28
00:01:55,917 --> 00:02:01,466
Acesse o SAS através do Portal do Aluno, clicando em “Análise Socioeconômica”.
       == Portal do Aluno
32
00:02:13,801 --> 00:02:18,277
A lista de documentação necessária está disponível no site da UFFS,
== vírgula
33
00:02:18,277 --> 00:02:22,524
em "Assistência Estudantil", na opção "análise socioeconômica".
       == acho que fica mais claro colocar entre aspas, como feito acima.

Vídeo e chamada 2 revisados, ajustados e colocados na pasta de saída desta issue.
Na pasta de saída da issue #514 estarão todos os vídeos e chamadas.
No aguardo do feedback da solicitante.

Os vídeos (do 1 ao 4) foram aceitos e já começaram a ser divulgados.

authors: Eweline GessicaZanon MilenaPaz2020 amandasegattob annacarolis luizatonial morgana-mo robisonjose thaliafriedrich


text:
Use seed-services-client for API requests

Instead of hardcoding URLs in this repo, use the API client.
This depends on an as-yet unreleased version of the client. The tests should pass once https://github.com/praekeltfoundation/seed-services-client/pull/39 is merged and released.

The test test_create_outbound_data_new_identity fails with this code change in Python 3 because:

AttributeError: 'str' object has no attribute 'decode'

source: gharchive/pull-request

repo: praekelt/seed-message-sender

license_type: permissive

license_source: github-api


text:
UI Fixes in the DevGeeks Website

Describe the bug
Currently, the UI of the DevGeeks website is quite ordinary and have some design issues like spacing, fonts and cluttering of all information in the same space.
Expected behavior
I would like to make changes in the UI of the website and improve the frontend design to make the website more attractive.
Screenshots (optional)

Additional context (optional )
Please assign me the issue to improve the UI of the said website.

@AnushkaKohli can you assign me this issue and what type of changes do you need in you site ?

source: gharchive/issue

repo: pranjay-poddar/Dev-Geeks

license: MIT


text:
Add common var-generating functions to maketable1 branch

This merge adds the functions gen_lag_vars, gen_year_vars and gen_xtile_vars to the module. These functions mostly create variables, and are used in more than 1 do-file of the whole paper. As of now, one (small) issue is known: one of the outerjoins duplicates a few of the variables (11 of them), thus the stata dataset has 686 vars whilst the julia one has 697. These are currently not dropped.

I also added the function keep_20years_gdp since in most (all?) do files, we only keep a country if we have at least 20 years of gdp.


text:
make cd explicit in instructions.

@tomhostyn pointed out that the current solution is not working very good, as it has too much magic.
This would be more explicit by either having people run ./setup.sh && cd exercise
or make it into two seperate steps, this is probably the saner way of doing stuff without confusing users or contaminating the users shell.

Part of the problem might also be, that not every kata does it the same way.
For example, basic-commits use sourcing, while basic-branching doesn't.

authors: RandomSort djonn

repo: praqma-training/git-katas


text:
Update maintenance.html

changes about css

changes about css


text:
🛑 QRCode Generator is down

In f23e640, QRCode Generator (https://qrcode-generator.onrender.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: QRCode Generator is back up in 4f004d2 after 22 minutes.

repo: prateekralhan/status


text:
🛑 QRCode Generator is down

In 8d2e33f, QRCode Generator (https://qrcode-generator.onrender.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: QRCode Generator is back up in 501c9f5 after 11 minutes.


text:
Detection of Bright Spots in Images

Hey DCP participants, good to see you here
This issue will helps readers in giving all the guidance that one needs to learn about Detection of Bright Spots in Images. Tutorial to Detection of Bright Spots in Images and how it's applied using sample code.
Topic : Computer Vision
"Project Title" should be the "Issue Title" mentioned here.
If you like to work on this issue, follow the given guidelines for code as well as for the README. You have to be as elaborative as possible. Make sure you also maintain the project structure provided. Just comment and get it assigned. Issues are alloted on FCFS basis.
The main intention of this repo is to educate beginners with all the concepts related to datascience so that they could feel confident to apply these things learnt in practical exposure.
Enjoy your open source journey ahead. 😎

please assign it to me, I will do it in Python.

Ok, issue assigned. @sejalsingh417

Ok, issue assigned but you have to use computer vision to do it. Are you hacktober fest participant? @sejalsingh417

yes, I am a hacktober fest participant

repo: prathimacode-hub/DS-ScriptsNook


text:
Generate objects for dictionary parameters

Fixes # (provide issue number if applicable)
Linked to #1435
Feature Summary and Justification
This feature provides objects for any dictionaries that are provided as parameters.
Each commit contains a link to where the common attributes for that class were found.
References

Updates to Button class: https://github.com/praw-dev/praw/pull/1506/commits/fbde0e4342f9adb4d391e6654049f775db0e7afa
CalendarConfiguration: https://github.com/praw-dev/praw/pull/1506/commits/68742ef3f70483447a15536afd88c61c5c4a0dcc
Hover: https://github.com/praw-dev/praw/pull/1506/commits/60d77286806b0b3f1e1288d794e922951c5b190c
Styles: https://github.com/praw-dev/praw/pull/1506/commits/2e39d72213192ce85d3f8562fa043fb3bc70c081

Awesome, thanks!

repo: praw-dev/praw

license_source: bigquery


text:
Marsmedia bid adapter

Add support for: tcf2, coppa, usp, getFloor.
Add example.

Hi, are you only making doc changes or is there an accompanying code PR?

Hi, are you only making doc changes or is there an accompanying code PR?

I did some changes on our adapter,
https://github.com/prebid/Prebid.js/pull/6337

Thanks, just in the future, if you make code changes we need the PR for that linked here, we don't want to merge docs until the code has been merged.

authors: MartianTribe vladi-mmg


text:
Document for adding a PBS Go Module

🏷 Type of documentation

[x] new feature
[x] new examples

📋 Checklist

[x] Related pull requests in prebid.js or server are linked

Related PRs in PBS:

https://github.com/pi-prebid/prebid-server/pull/22
https://github.com/pi-prebid/prebid-server/pull/23
https://github.com/pi-prebid/prebid-server/pull/24

This is looking good to me, I'm going to wait for @VeronikaSolovei9 to review before approving

Thank you for addressing comments. LGTM


text:
Add gdpr support and key-value targeting to the Yieldlab bidder

Corresponding to Pull Request: https://github.com/prebid/Prebid.js/pull/2755

released with 1.16

authors: bretg mirkorean


text:
Session handler 8.1 deprecated shutup

Session handler suppress deprecated errors on PHP 8.1
i ma updating my project to PHP 8.1 and these things fixed newly risen deprecated notices.

Please re-submit to v1.1 and double check the syntax.

authors: pkristian tillkruss

repo: predis/predis


text:
attempt to increase sauce command timeout

Pull Request
Hi,
Thanks for helping us improve the Predix UI platform by submitting a Pull Request.
To help us merge your Pull Request as fast as possible, please fill out the following sections:

A description of the changes proposed in the pull request:

trying to fix sauce part of the build by increasing the timeout from 300 to 600sec

A reference to a related issue (if applicable):

@mentions of the person or team responsible for reviewing proposed changes:

working tests:

The tests need to be functional and/or unit tests, written for the wct framework, and placed in the test folder, following our testing guidelines.

Closing, safari timeout issues with saucelabs has been resolved by setting the host OS to High Sierra.

authors: evanjd jimdefrisco

repo: predixdesignsystem/px-vis


text:
Test/retry linking

Just a little test to see if this would help. This add 3 retries to linking a file. Its done immediately without a forced delay. So lets see what happens

Never mind that is not working :cry:

repo: prefix-dev/pixi


text:
Implement $SHELL and $0 (How to identify which shell I am in)

The shell now looks identical to Bash! How can I tell which shell I am in? This morning I started in our shell, and I only noticed when git tab completion didn't work (#80) that I am not in Bash.

Some ideas:

maybe some command to run "which_shell_am_I" (but shorter)
some key binding (Ctrl-H or F1) for a nice help / about screen
maybe make the shell look different (but I like that it looks like Bash)

For shells like Bash or Zsh the shell running is always exported in the SHELL environment variable.

@awvwgk great idea! Indeed, $SHELL works, so we should just implement it and that will fix this for me.

Apparently there is also $0:
$ echo $0
-bash

For shells like Bash or Zsh the shell running is always exported in the SHELL environment variable.

I think there is a difference between $SHELL and $0, as provided here:
https://stackoverflow.com/questions/9804517/difference-between-0-and-shell#:~:text=%24SHELL gives the full path,name of your current shell.

I see. The $SHELL environment variable is a shell that the use wants to be using for future shell invocations from various programs. That's a separate feature.
The main feature I want in this issue is to determine which shell I am running right now, and for that we need to implement $0 which will print the currently running program (shell).

authors: awvwgk certik gxyd

repo: prefix-dev/shell


text:
chore: fixed cypress tests execution

SUMMARY

I found that someone has changed password for cypress -> instead "admin" it should be "general". Fixed.
In native filters test file it was one additional step which was not needed.
for cypress run it should be feature flag enabled - > I modified config file for cypress tests

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #61 (a516936) into dashboard-native-filters (1b9eb9b) will decrease coverage by 0.38%.
The diff coverage is n/a.

@@                     Coverage Diff                      @@
##           dashboard-native-filters      #61      +/-   ##
============================================================
- Coverage                     63.63%   63.24%   -0.39%
============================================================
  Files                           958      466     -492
  Lines                         46331    28688   -17643
  Branches                       4503        0    -4503
============================================================
- Hits                          29483    18145   -11338
+ Misses                        16664    10543    -6121
+ Partials                        184        0     -184

Flag
Coverage Δ

javascript
?

python
63.24% <ø> (-0.96%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/databases/commands/create.py
32.65% <0.00%> (-59.19%)
:arrow_down:

superset/sql_validators/postgres.py
50.00% <0.00%> (-50.00%)
:arrow_down:

superset/db_engine_specs/hive.py
54.61% <0.00%> (-29.62%)
:arrow_down:

superset/views/database/mixins.py
59.64% <0.00%> (-22.81%)
:arrow_down:

superset/db_engine_specs/presto.py
69.95% <0.00%> (-12.45%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/databases/dao.py
94.11% <0.00%> (-5.89%)
:arrow_down:

superset/databases/api.py
83.80% <0.00%> (-5.27%)
:arrow_down:

... and 513 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b9eb9b...a516936. Read the comment docs.

This test 'should update the title' seems to fail because of application error (does not come with cypress tests.
@rusackas
Cannot read property 'filter_configuration' of null The error may be correlated with this previous error: TypeError: Cannot read property 'filter_configuration' of null     at Object.eval [as current] (webpack-internal:///./src/dashboard/components/nativeFilters/state.ts:49:112)     at Subscription.checkForUpdates [as onStateChange] (webpack-internal:///./node_modules/react-redux/es/hooks/useSelector.js:56:47)     at Subscription.handleChangeWrapper (webpack-internal:///./node_modules/react-redux/es/utils/Subscription.js:100:12)     at eval (webpack-internal:///./node_modules/react-redux/es/utils/Subscription.js:26:20)     at batchedUpdates$1 (webpack-internal:///./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:21888:12)     at Object.notify (webpack-internal:///./node_modules/react-redux/es/utils/Subscription.js:22:7)     at Subscription.notifyNestedSubs (webpack-internal:///./node_modules/react-redux/es/utils/Subscription.js:95:20)     at Subscription.checkForUpdates [as onStateChange] (webpack-internal:///./node_modules/react-redux/es/components/connectAdvanced.js:90:9)     at Subscription.handleChangeWrapper (webpack-internal:///./node_modules/react-redux/es/utils/Subscription.js:100:12)     at eval (webpack-internal:///./node_modules/react-redux/es/utils/Subscription.js:26:20)

authors: adam-stasiak codecov-io

repo: preset-io/incubator-superset


text:
Point-in-time-recovery on Operator 0.4.0

Hi there,
I'm using Presslabs MySql operator 0.4.0 with Mysql db percona:5.7.29 and I understand point in time recovery is supported.
However, don't see any documentation around how to perform the recovery. It would be great if someone points me in the right direction with the point-in-time recovery documentation.
Thanks folks for your help in advance! Appreciate it.

This should be a very useful feature 👍

Now there should be no support for this

repeated issues #7

repo: presslabs/mysql-operator


text:
Compose custom queries from multiple .sql files?

Description
I have multiple reasonably complex GET queries to send to a database where I cannot create custom functions or views.  It would be ideal if I could assemble a query out of frequently used chunks of SQL in the _QUERIES directory, like:
SELECT
  ('{{include "./useful_subselect.sql"}}') AS computed
FROM
  '{{include "./common_filter.sql"}}'
WHERE
  '{{include "./favorite_where.sql"}}' AND
  '{{include "./another_condition.sql"}}'

The {{include}} could be a simple text replacement from the file, no need to get complicated.  Includes would need to be parsed first and recursively, so that the path of "./yet_another_subquery.sql" is relative to the file containing that reference.  A cyclic dependency could just throw an error.
I'd be willing to try writing this (Go is not my first language) but I thought I'd get input first.

I think this is a good idea.
@avelino @crgimenes?

interesting idea.
I'm wondering how big of a mess I can make something like that. haha.

I like the idea, but wouldn't that be define of the go template?
ex: https://play.golang.org/p/ozf4sUVYuj

@Rakurai can you implement your feature suggestion?

authors: Rakurai avelino crgimenes tiaguinho

repo: prest/prest


text:
whitelist prestascan

hi
can you provide an ip list (or other solution) to whitelist Prestascan behind an htaccess password ?
thanks

Hello,
Our requests are issued from the IP address:
87.98.153.45
If you whitelist this IP and when our server makes a call for a scan, it does not encounter BasicAuth authentication, then server to server communication will be fine.
Does this answer your question?
Best regards

thanks @Vincent-Profileo

authors: Vincent-Profileo quasiperfect

repo: prestascan/prestascansecurity


text:
Add presto yarn package install and uninstall

This PR adds the presto-admin functionality for installing and uninstalling the presto-yarn package using slider, and product tests for that.
The changes are mostly straightforward. Installing and uninstalling are much the same as for the rpm package, with the key difference that instead of installing the package using rpm, we install it using slider.
The product tests verify that installation and uninstallation work by checking two things:

The package file ends up in the right location on HDFS
Slider recognizes that the package has been installed.

Doing 2. requires running slider as the configured user; this required updating docker-py to support the user= kwarg to exec_create, which in turn required updating how we pass the mem_limit parameter in docker_cluster.py.
In the course of doing this work, I ran into problems with how I was maintaining and updating BaseProductCase's dict of default keywords. I ended up reworking that, with the result that StandalonePrestoInstaller now maintains its notion of dummyness as an instance variable rather than a parameter passed to individual functions. A bunch of minor changes resulted from that. It seems like keyword updates should be less brittle now.

I haven't really looked at the code yet, but a quick note about docker-py.

I don't see where you updated the docker-py version
at some point we had intentionally pegged the version of docker-py because the next version was causing some test failures. I don't remember which tests, and I think it may have related to the version of docker we were running, but you should run the suite to make sure it's no longer an issue.

some comments/questions.

lgtm mod comments

looks good

authors: anusudarsan ebd2 rschlussel

repo: prestodb/presto-admin


text:
[BUG] Not able to fetch Image while deploying helm charts

While installing the fresh helm charts I am facing below issue:
Events:
  Type     Reason          Age                    From     Message
  ----     ------          ----                   ----     -------
  Normal   BackOff         15h (x2855 over 26h)   kubelet  Back-off pulling image "ahanaio/prestodb:0.281"
  Normal   SandboxChanged  3h28m                  kubelet  Pod sandbox changed, it will be killed and re-created.
  Normal   Pulling         3h26m (x4 over 3h28m)  kubelet  Pulling image "ahanaio/prestodb:0.281"
  Warning  Failed          3h26m (x4 over 3h28m)  kubelet  Failed to pull image "ahanaio/prestodb:0.281": Error response from daemon: pull access denied for ahanaio/prestodb, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
  Warning  Failed          3h26m (x4 over 3h28m)  kubelet  Error: ErrImagePull
  Warning  Failed          3h26m (x6 over 3h28m)  kubelet  Error: ImagePullBackOff
  Normal   BackOff         67s (x127 over 3h28m)  kubelet  Back-off pulling image "ahanaio/prestodb:0.281"

Can someone please look into it?

Are you using the latest chart?  03f9d7718e2f151953a683b6baeac9c3a101e8e6 should have moved this to the official Presto image--Ahana images are deprecated and removed.

@tdcmeehan What happened was when I added the repo 1st time it was taking the older version some how and it took the older image.
I can manually update repo and make things work but as I am deploying through argocd I had to override the tag value to the latest and it worked.

Hi @dhruvinmaniar123,
Default Presto image repo and tag have been changed to prestodb/presto:0.284, see commits https://github.com/prestodb/presto-helm-charts/commit/03f9d7718e2f151953a683b6baeac9c3a101e8e6 and https://github.com/prestodb/presto-helm-charts/commit/ea38112cfe38b7ab6968a32fcc35efa10f35a8ec.
The change has not been released yet, but I'm going to release the helm chart with the next Presto version.

New version of the chart with the fix for the issue has been released!
See https://github.com/prestodb/presto-helm-charts/releases/tag/presto-0.2.0

authors: dhruvinmaniar123 dnskr tdcmeehan

repo: prestodb/presto-helm-charts


text:
Final aggregation with default value not separated from partial aggregation by remote hash exchange

Error running query: Final aggregation with default value not separated from partial aggregation by remote hash exchange
java.lang.IllegalArgumentException: Final aggregation with default value not separated from partial aggregation by remote hash exchange
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:141)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitAggregation(ValidateAggregationsWithDefaultValues.java:119)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitAggregation(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.AggregationNode.accept(AggregationNode.java:204)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Collections$2.tryAdvance(Collections.java:4717)
at java.util.Collections$2.forEachRemaining(Collections.java:4725)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitProject(PlanVisitor.java:39)
at io.prestosql.sql.planner.plan.ProjectNode.accept(ProjectNode.java:82)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Collections$2.tryAdvance(Collections.java:4717)
at java.util.Collections$2.forEachRemaining(Collections.java:4725)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitFilter(PlanVisitor.java:34)
at io.prestosql.sql.planner.plan.FilterNode.accept(FilterNode.java:72)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Collections$2.tryAdvance(Collections.java:4717)
at java.util.Collections$2.forEachRemaining(Collections.java:4725)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitProject(PlanVisitor.java:39)
at io.prestosql.sql.planner.plan.ProjectNode.accept(ProjectNode.java:82)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Collections$2.tryAdvance(Collections.java:4717)
at java.util.Collections$2.forEachRemaining(Collections.java:4725)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitTopN(PlanVisitor.java:44)
at io.prestosql.sql.planner.plan.TopNNode.accept(TopNNode.java:107)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Collections$2.tryAdvance(Collections.java:4717)
at java.util.Collections$2.forEachRemaining(Collections.java:4725)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitProject(PlanVisitor.java:39)
at io.prestosql.sql.planner.plan.ProjectNode.accept(ProjectNode.java:82)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitJoin(PlanVisitor.java:94)
at io.prestosql.sql.planner.plan.JoinNode.accept(JoinNode.java:314)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Collections$2.tryAdvance(Collections.java:4717)
at java.util.Collections$2.forEachRemaining(Collections.java:4725)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitProject(PlanVisitor.java:39)
at io.prestosql.sql.planner.plan.ProjectNode.accept(ProjectNode.java:82)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitJoin(PlanVisitor.java:94)
at io.prestosql.sql.planner.plan.JoinNode.accept(JoinNode.java:314)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Collections$2.tryAdvance(Collections.java:4717)
at java.util.Collections$2.forEachRemaining(Collections.java:4725)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitProject(PlanVisitor.java:39)
at io.prestosql.sql.planner.plan.ProjectNode.accept(ProjectNode.java:82)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitJoin(PlanVisitor.java:94)
at io.prestosql.sql.planner.plan.JoinNode.accept(JoinNode.java:314)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Collections$2.tryAdvance(Collections.java:4717)
at java.util.Collections$2.forEachRemaining(Collections.java:4725)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitExchange(ValidateAggregationsWithDefaultValues.java:136)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitExchange(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.ExchangeNode.accept(ExchangeNode.java:243)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Collections$2.tryAdvance(Collections.java:4717)
at java.util.Collections$2.forEachRemaining(Collections.java:4725)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitExchange(ValidateAggregationsWithDefaultValues.java:136)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitExchange(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.ExchangeNode.accept(ExchangeNode.java:243)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Collections$2.tryAdvance(Collections.java:4717)
at java.util.Collections$2.forEachRemaining(Collections.java:4725)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitTopN(PlanVisitor.java:44)
at io.prestosql.sql.planner.plan.TopNNode.accept(TopNNode.java:107)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Collections$2.tryAdvance(Collections.java:4717)
at java.util.Collections$2.forEachRemaining(Collections.java:4725)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitProject(PlanVisitor.java:39)
at io.prestosql.sql.planner.plan.ProjectNode.accept(ProjectNode.java:82)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.lambda$aggregatedSeenExchanges$0(ValidateAggregationsWithDefaultValues.java:157)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Collections$2.tryAdvance(Collections.java:4717)
at java.util.Collections$2.forEachRemaining(Collections.java:4725)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.aggregatedSeenExchanges(ValidateAggregationsWithDefaultValues.java:158)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:87)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues$Visitor.visitPlan(ValidateAggregationsWithDefaultValues.java:68)
at io.prestosql.sql.planner.plan.PlanVisitor.visitOutput(PlanVisitor.java:49)
at io.prestosql.sql.planner.plan.OutputNode.accept(OutputNode.java:82)
at io.prestosql.sql.planner.sanity.ValidateAggregationsWithDefaultValues.validate(ValidateAggregationsWithDefaultValues.java:65)
at io.prestosql.sql.planner.sanity.PlanSanityChecker.lambda$validateFinalPlan$0(PlanSanityChecker.java:65)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:407)
at io.prestosql.sql.planner.sanity.PlanSanityChecker.validateFinalPlan(PlanSanityChecker.java:65)
at io.prestosql.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:201)
at io.prestosql.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:183)
at io.prestosql.sql.planner.LogicalPlanner.plan(LogicalPlanner.java:178)
at io.prestosql.execution.SqlQueryExecution.doPlanQuery(SqlQueryExecution.java:393)
at io.prestosql.execution.SqlQueryExecution.planQuery(SqlQueryExecution.java:381)
at io.prestosql.execution.SqlQueryExecution.start(SqlQueryExecution.java:336)
at io.prestosql.$gen.Presto_328____20200119_085023_2.run(Unknown Source)
at io.prestosql.execution.SqlQueryManager.createQuery(SqlQueryManager.java:240)
at io.prestosql.dispatcher.LocalDispatchQuery.lambda$startExecution$4(LocalDispatchQuery.java:107)
at io.prestosql.$gen.Presto_328____20200119_085023_2.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Thanks for the report. Can you provide the query that causes this? It will make it easier to diagnose.

with channel_mc as
(
select cast(masterid as varchar) as mc,mastername as mcname from mysql.dc_esdk.eagle_uchannelmaster
)
,
channel_sc as
(
select cast(id as varchar) as sc, name scname from mysql.dc_esdk.svr_channel where c_index=2 AND source_id != 16
)
,eagle_ugame as
(
SELECT cast(a.appid as varchar) appid,a.name as appname,a.realname ,a.issuecpid,b.name as cpname,coalesce(a.rate,1) as rate
FROM mysql.dc_esdk.eagle_ugame a
left outer join mysql.dc_esdk.dist_company b
on a.issuecpid=b.id
)
select
a.dt,
a.pn
,a.apa
,a.apr
,round(a.money,2) money
,round(a.money_yuan,2) money_yuan
,round(a.money/a.apa,2) as arppu
,round(a.money/a.apr,2) as arppr
,a.grouping_id
from
(
select
coalesce(cast(dt as varchar),'汇总') as dt
,coalesce(cast(appid as varchar),'汇总') as appid
,coalesce(cast(mc as varchar),'汇总') as mc
,coalesce(cast(sc as varchar),'汇总') as sc
,sum(1) as pn
,count(distinct uid) as apa
,count(distinct rid) as apr
,sum(money)/100.00 as money
,sum(money_yuan)/100.00 as money_yuan
,grouping (dt,appid,mc,sc) as grouping_id
from
(
select
a.dt
,a.appid
,a.mc
,a.sc
,a.extc
,a.uid
,a.rid
,a.money1.00 as money
,a.moneyb.rate*1.00 as money_yuan
from
(
select
*
from
(
select
dt
,appid
,mc
,sc
,extc
,uid
,rid
,money
from hive.db.tables
where dt between 20200127 and 20200202
AND gn = 'jyqykr'
AND (appid IN ('468'))
) a
where 1=1
AND 1=1
AND 1=1
AND 1=1
) a
left outer join
eagle_ugame b
on cast(a.appid as varchar) = cast(b.appid as varchar)
) a
group by
grouping sets ( () ,(dt) , (dt,appid) , (appid) , (appid,mc) ,(appid,mc,sc) )
) a
left outer join
channel_mc as b
on a.mc = b.mc
left outer join
channel_sc as c
on a.sc = c.sc
left outer join
eagle_ugame as e
on cast(a.appid as varchar) = cast(e.appid as varchar)
where a.grouping_id in (15,7)
ORDER BY grouping_id DESC, dt DESC
limit 201

we found , when i don't input " AND (appid IN ('468'))" , then it woks.

@Svti can u share table ddl

+-----------------------------------------------------------------------+--+
| CREATE EXTERNAL TABLE tables(                                |
|   ts bigint,                                                        |
|   datetime string,                                                  |
|   rdatetime string,                                                 |
|   c string,                                                         |
|   mc string,                                                        |
|   sc string,                                                        |
|   extc string,                                                      |
|   appid string,                                                     |
|   uid string,                                                       |
|   did string,                                                       |
|   sid string,                                                       |
|   rid string,                                                       |
|   money bigint,                                                     |
| PARTITIONED BY (                                                      |
|   dt int,                                                           |
|   gn string)                                                        |
| ROW FORMAT DELIMITED                                                  |
|   FIELDS TERMINATED BY '\t'                                           |
| STORED AS INPUTFORMAT                                                 |
|   'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat'     |
| OUTPUTFORMAT                                                          |
|   'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat'    |
| LOCATION                                                              |
|   'hdfs://.../hive.db/tables'  |
| TBLPROPERTIES (                                                       |
|   'parquet.compression'='SNAPPY',                                     |
|   'transient_lastDdlTime'='1571155034')                               |
+-----------------------------------------------------------------------+--+

@Svti can you also provide schema of the mysql tables used in the query?

gentle ping @Svti

@Svti Feel free to re-open this issue. If the issue still exists

repo: prestosql/presto


text:
Update BigQuery dependencies to support HOURLY partitioning of tables

I did not update to latest BOM version to minimize the impact of this change.
Hourly partitioning was added in https://github.com/googleapis/java-bigquery/commit/90f998040bbca5882ac3dbcdb4b157f26f48eb01#diff-3dfcf884473c6d47c7c3debc58ce20c0

LGTM - it would be great to add some test coverage for this one. PT?

@losipiuk We have no tests for BigQuery currently.
cc @davidrabinowitz

@losipiuk We have no tests for BigQuery currently.

Yeah - I know :)

cc @davidrabinowitz

Though I'm testing this PR manually, it throws the following exception.
 CREATE TABLE
   ebyhr.t4968d (transaction_id INT64,
     transaction_ts TIMESTAMP)
 PARTITION BY
   TIMESTAMP_TRUNC(transaction_ts, HOUR)

presto> select * from bigquery.ebyhr.t4968d;
Query 20200825_131245_00004_y767b failed: Illegal Argument - Got unexpected time partitioning {"field":"transaction_ts","type":"HOUR"} in project ivory-oarlock-268702 in dataset ebyhr in table t4968d
java.lang.IllegalArgumentException: Illegal Argument - Got unexpected time partitioning {"field":"transaction_ts","type":"HOUR"} in project ivory-oarlock-268702 in dataset ebyhr in table t4968d
	at com.google.cloud.bigquery.StandardTableDefinition.fromPb(StandardTableDefinition.java:286)
	at com.google.cloud.bigquery.TableDefinition.fromPb(TableDefinition.java:159)
	at com.google.cloud.bigquery.TableInfo$BuilderImpl.<init>(TableInfo.java:195)
	at com.google.cloud.bigquery.Table.fromPb(Table.java:630)
	at com.google.cloud.bigquery.BigQueryImpl.getTable(BigQueryImpl.java:682)
	at io.prestosql.plugin.bigquery.BigQueryClient.getTable(BigQueryClient.java:73)
	at io.prestosql.plugin.bigquery.BigQueryMetadata.getBigQueryTable(BigQueryMetadata.java:136)
	at io.prestosql.plugin.bigquery.BigQueryMetadata.getTableHandle(BigQueryMetadata.java:125)
	at io.prestosql.metadata.MetadataManager.getTableHandle(MetadataManager.java:343)
	at io.prestosql.sql.analyzer.StatementAnalyzer$Visitor.visitTable(StatementAnalyzer.java:1055)
	at io.prestosql.sql.analyzer.StatementAnalyzer$Visitor.visitTable(StatementAnalyzer.java:315)
	at io.prestosql.sql.tree.Table.accept(Table.java:53)
	at io.prestosql.sql.tree.AstVisitor.process(AstVisitor.java:27)
	at io.prestosql.sql.analyzer.StatementAnalyzer$Visitor.process(StatementAnalyzer.java:332)
	at io.prestosql.sql.analyzer.StatementAnalyzer$Visitor.analyzeFrom(StatementAnalyzer.java:2263)
	at io.prestosql.sql.analyzer.StatementAnalyzer$Visitor.visitQuerySpecification(StatementAnalyzer.java:1306)
	at io.prestosql.sql.analyzer.StatementAnalyzer$Visitor.visitQuerySpecification(StatementAnalyzer.java:315)
	at io.prestosql.sql.tree.QuerySpecification.accept(QuerySpecification.java:144)
	at io.prestosql.sql.tree.AstVisitor.process(AstVisitor.java:27)
	at io.prestosql.sql.analyzer.StatementAnalyzer$Visitor.process(StatementAnalyzer.java:332)
	at io.prestosql.sql.analyzer.StatementAnalyzer$Visitor.process(StatementAnalyzer.java:342)
	at io.prestosql.sql.analyzer.StatementAnalyzer$Visitor.visitQuery(StatementAnalyzer.java:929)
	at io.prestosql.sql.analyzer.StatementAnalyzer$Visitor.visitQuery(StatementAnalyzer.java:315)
	at io.prestosql.sql.tree.Query.accept(Query.java:107)
	at io.prestosql.sql.tree.AstVisitor.process(AstVisitor.java:27)
	at io.prestosql.sql.analyzer.StatementAnalyzer$Visitor.process(StatementAnalyzer.java:332)
	at io.prestosql.sql.analyzer.StatementAnalyzer.analyze(StatementAnalyzer.java:301)
	at io.prestosql.sql.analyzer.Analyzer.analyze(Analyzer.java:83)
	at io.prestosql.sql.analyzer.Analyzer.analyze(Analyzer.java:75)
	at io.prestosql.execution.SqlQueryExecution.analyze(SqlQueryExecution.java:252)
	at io.prestosql.execution.SqlQueryExecution.<init>(SqlQueryExecution.java:181)
	at io.prestosql.execution.SqlQueryExecution$SqlQueryExecutionFactory.createQueryExecution(SqlQueryExecution.java:752)
	at io.prestosql.dispatcher.LocalDispatchQueryFactory.lambda$createDispatchQuery$0(LocalDispatchQueryFactory.java:123)
	at io.prestosql.$gen.Presto_testversion____20200825_130926_3.call(Unknown Source)
	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:69)
	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.IllegalArgumentException: No enum constant com.google.cloud.bigquery.TimePartitioning.Type.HOUR
	at java.base/java.lang.Enum.valueOf(Enum.java:240)
	at com.google.cloud.bigquery.TimePartitioning$Type.valueOf(TimePartitioning.java:43)
	at com.google.cloud.bigquery.TimePartitioning.fromPb(TimePartitioning.java:145)
	at com.google.cloud.bigquery.StandardTableDefinition.fromPb(StandardTableDefinition.java:276)
	... 39 more

@losipiuk @ebyhr i put it wrong.
We do have tests. We just do not have testing.
@ebyhr would you be able to add some notes in TestBigQueryIntegrationSmokeTest or in some README
instructing how to run it?

@findepi Sure, basically I just run BigQueryRunner with VM options -Dbigquery.credentials-file=<path-to-credential-json>.

Ok, so I've tested and there was indeed problem with missing classed/dependencies. I've updated further to version 8.0.0 of BOM and it seems to work fine. I've added that and queried HOUR-ly partitioned table created like this (taken from docs):
CREATE TABLE
   test.wendigo (transaction_id INT64,
     transaction_ts TIMESTAMP)
 PARTITION BY
   TIMESTAMP_TRUNC(transaction_ts, HOUR)
 OPTIONS
   ( partition_expiration_days=3,
     description="a table partitioned by transaction_ts" )

It's displayed in UI as HOUR-ly partitioned:

I've been able to successfully query it using presto-cli (first query is before bumping dependencies):
presto:test> select * from wendigo;

Query 20200826_093322_00000_kss8b, FAILED, 1 node
Splits: 17 total, 0 done (0.00%)
4.94 [0 rows, 0B] [0 rows/s, 0B/s]

Query 20200826_093322_00000_kss8b failed: com/google/cloud/bigquery/storage/v1beta1/BigQueryStorageGrpc

presto:test> select * from wendigo;
 transaction_id |       transaction_ts
----------------+-----------------------------
           1337 | 2020-08-26 09:25:34.016 UTC
(1 row)

Query 20200826_094100_00000_nm56m, FINISHED, 1 node
Splits: 17 total, 17 done (100.00%)
6.23 [1 rows, 12B] [0 rows/s, 2B/s]

I've been able to query HOUR-ly partitioned table created like this (taken from docs):
CREATE TABLE
   test.wendigo (transaction_id INT64,
     transaction_ts TIMESTAMP)
 PARTITION BY
   TIMESTAMP_TRUNC(transaction_ts, HOUR)
 OPTIONS
   ( partition_expiration_days=3,
     description="a table partitioned by transaction_ts" )

It's displayed in UI as HOUR-ly partitioned:

Can this be added to TestBigQueryIntegrationSmokeTest?

#2390

authors: ebyhr findepi losipiuk wendigo


text:
Add xml info to pdf metadata2

This one is a conservative adjustment of the stalled PR #14 which among others fixes Issue #14 and tries to follow all of the reviewers valuable comments.
This PR fixes also the typo raised in Issue #13.
Hopefully this leads to a v2.3.1 release on PyPIP fixing the current version mismatch (Issue #12) which would make this lib way more useful without modifications.
While this PR lifts the restriction of the document type code to 380 (INVOICE) the DocumentType in the PDF XMP is still fixed to INVOICE. A proper handling would require the use of complete mapping of valid document type codes to corresponding DocumentTypes.

Sorry for the silence on this one, I will need to find some time to validate this against e.g. the Mustang test suite (if you did not already?) and I currently have limited time for this project. Will try to do it soon, though.  Thanks for working on it!

Sorry for the silence on this one, I will need to find some time to validate this against e.g. the Mustang test suite (if you did not already?) and I currently have limited time for this project. Will try to do it soon, though. Thanks for working on it!

If I remember correctly I got interested into this change initially as some generated PDF did not validate. The problem was reported by verapdf, but it could have been also Mustang. However, the current code is for sure wrong regarding Issue #14. The code changes proposed by the original PR seem to be taken from the facture-x lib.
Give me a bit time to get my validation chain fully functional and I can do more tests on this. I will report back.

Not sure what you refer to exactly by Mustang test suite, but I did some initial tests on both, the current trunk and this PR version. The results were identical.
I took the sample file EN16931_Einfach.pdf from the current Factur-X Version 1.0.06 (ZUGFeRD v. 2.2) package, used Mustang to extract the XML and formulated it in drafthorse (attached) to generate the XML and ZUGFeRD PDF.
EN16931_Einfach.py.txt
There were zero (non white space) differences between the extracted XML and the drafthorse generated XML, which also validated using the kosit validator.

I validated the generated PDF using veraPDF

I validated the PDF and XML with Mustang CLI v2.10.0 which first failed as I used "EN16931" in attach_xml which resulted in 9 failed rules w.r.t. the urn:cen.eu:en16931:2017 profile from the XRechnung-CII-validation.xslt which should not be applied here to my understanding as this XML is not tagged to confirm with the XRechnung profile.
    <messages>
      <error type="12">XMP Metadata: ConformanceLevel contains invalid value</error>
    </messages>

I fixed this to the correct "EN 16931" and the validation worked. However, the validator reported
<?xml version="1.0" encoding="UTF-8"?>

<validation filename="EN16931_Einfach.pdf" datetime="2024-01-20 19:52:30">
  <pdf>
    <report>
      <buildInformation>
        <releaseDetails id="core" version="1.22.2" buildDate="2022-09-14T13:46:00+02:00"/>
        <releaseDetails id="validation-model" version="1.22.2" buildDate="2022-09-14T13:47:00+02:00"/>
      </buildInformation>
      <jobs>
        <job>
          <item size="474918">
            <name>/Users/luther/Desktop/tmp/xRechnung/Apps/Mustang/EN16931_Einfach.pdf</name>
          </item>
          <validationReport profileName="PDF/A-3B validation profile" statement="PDF file is compliant with Validation Profile requirements." isCompliant="true">
            <details passedRules="124" failedRules="0" passedChecks="12482" failedChecks="0"/>
          </validationReport>
          <duration start="1705776751203" finish="1705776752485">00:00:01.282</duration>
        </job>
      </jobs>
      <batchSummary totalJobs="1" failedToParse="0" encrypted="0" outOfMemory="0" veraExceptions="0">
        <validationReports compliant="1" nonCompliant="0" failedJobs="0">1</validationReports>
        <featureReports failedJobs="0">0</featureReports>
        <repairReports failedJobs="0">0</repairReports>
        <duration start="1705776750990" finish="1705776752508">00:00:01.518</duration>
      </batchSummary>
    </report>
    <info>
      <signature>unknown</signature>
      <duration unit="ms">2726</duration>
    </info>
    <summary status="valid"/>
  </pdf>
  <xml>
    <info>
      <version>2</version>
      <profile>urn:cen.eu:en16931:2017</profile>
      <validator version="2.10.0"/>
      <rules>
        <fired>19</fired>
        <failed>9</failed>
      </rules>
      <duration unit="ms">4719</duration>
    </info>
    <messages>
      <notice type="27" location="/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext[1]" criterion="ram:BusinessProcessSpecifiedDocumentContextParameter/ram:ID">Business process MUST be provided. [ID PEPPOL-EN16931-R001] from /xslt/XR_30/XRechnung-CII-validation.xslt)</notice>
      <notice type="27" location="/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction[1]/ram:ApplicableHeaderTradeAgreement[1]/ram:SellerTradeParty[1]" criterion="ram:URIUniversalCommunication/ram:URIID">Seller electronic address MUST be provided [ID PEPPOL-EN16931-R020] from /xslt/XR_30/XRechnung-CII-validation.xslt)</notice>
      <notice type="27" location="/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction[1]/ram:ApplicableHeaderTradeAgreement[1]/ram:BuyerTradeParty[1]" criterion="ram:URIUniversalCommunication/ram:URIID">Buyer electronic address MUST be provided [ID PEPPOL-EN16931-R010] from /xslt/XR_30/XRechnung-CII-validation.xslt)</notice>
      <notice type="27" location="/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction[1]/ram:IncludedSupplyChainTradeLineItem[1]/ram:SpecifiedLineTradeAgreement[1]/ram:GrossPriceProductTradePrice[1]" criterion="not(ram:ChargeAmount) or xs:decimal(../ram:NetPriceProductTradePrice/ram:ChargeAmount) = xs:decimal(ram:ChargeAmount) - xs:decimal(ram:AppliedTradeAllowanceCharge/ram:ActualAmount)">Item net price MUST equal (Gross price - Allowance amount) when gross price is provided. [ID PEPPOL-EN16931-R046] from /xslt/XR_30/XRechnung-CII-validation.xslt)</notice>
      <notice type="27" location="/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction[1]/ram:IncludedSupplyChainTradeLineItem[2]/ram:SpecifiedLineTradeAgreement[1]/ram:GrossPriceProductTradePrice[1]" criterion="not(ram:ChargeAmount) or xs:decimal(../ram:NetPriceProductTradePrice/ram:ChargeAmount) = xs:decimal(ram:ChargeAmount) - xs:decimal(ram:AppliedTradeAllowanceCharge/ram:ActualAmount)">Item net price MUST equal (Gross price - Allowance amount) when gross price is provided. [ID PEPPOL-EN16931-R046] from /xslt/XR_30/XRechnung-CII-validation.xslt)</notice>
      <notice type="27" location="/rsm:CrossIndustryInvoice" criterion="rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeSettlementPaymentMeans">[BR-DE-1] Eine Rechnung (INVOICE) muss Angaben zu "PAYMENT INSTRUCTIONS" (BG-16) enthalten. [ID BR-DE-1] from /xslt/XR_30/XRechnung-CII-validation.xslt)</notice>
      <notice type="27" location="/rsm:CrossIndustryInvoice" criterion="rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerReference[boolean(normalize-space(.))]">[BR-DE-15] Das Element "Buyer reference" (BT-10) muss übermittelt werden. [ID BR-DE-15] from /xslt/XR_30/XRechnung-CII-validation.xslt)</notice>
      <notice type="27" location="/rsm:CrossIndustryInvoice/rsm:ExchangedDocumentContext[1]" criterion="ram:GuidelineSpecifiedDocumentContextParameter/ram:ID = $XR-CIUS-ID or ram:GuidelineSpecifiedDocumentContextParameter/ram:ID = $XR-EXTENSION-ID">[BR-DE-21] Das Element "Specification identifier" (BT-24) soll syntaktisch der Kennung des Standards XRechnung entsprechen. [ID BR-DE-21] from /xslt/XR_30/XRechnung-CII-validation.xslt)</notice>
      <notice type="27" location="/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction[1]/ram:ApplicableHeaderTradeAgreement[1]/ram:SellerTradeParty[1]" criterion="ram:DefinedTradeContact">[BR-DE-2] Die Gruppe "SELLER CONTACT" (BG-6) muss übermittelt werden. [ID BR-DE-2] from /xslt/XR_30/XRechnung-CII-validation.xslt)</notice>
    </messages>
    <summary status="valid"/>
  </xml>
  <messages></messages>
  <summary status="valid"/>
</validation>

The PDF metadata generated by this PR are somewhat simplified over the original PR (as viewed in Acrobat).

Take your time to review all of this (I know you are busy, I was just enjoying reading your excellent post on My little trade show – enterprise sales is magic (we experienced a very similar thing, thus with a much less professional looking result) and some of your other posts. Nice reads!), but I think the changes are an improvement over trunk and most importantly fix Issue #14.
Thanks for this lib!

authors: MAKOMO raphaelm

repo: pretix/python-drafthorse


text:
Having navigation fail/cancel leaves progressbar hanging

As this library doesn't use the "complete" promise from beforeNavigate, but instead uses afterNavigate to "finish" the progress-bar, it fails to take into account navigations which fails or are cancelled. I would imagine the most common occurrence of this (which is the one I ran into) is cancelling the navigation during beforeNavigate using the cancel param, which will just leave the progress-bar hanging giving an impression of a broken app

Implemented a fix in the linked PR.
Feel free to try it out using the beta 3.0.1-next.1 release

I'm still getting this issue when there's a redirect in a page load

repo: prgm-dev/sveltekit-progress-bar


text:
feat(tooltip) Add optional prop of width to allow for sizing the 'content' element

When tooltip is used with large messages there are no developer assignable media breakpoints allowable. These changes allow the developer to implement breakpoints.

Codecov Report

Merging #235 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #235   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          36     36
  Lines         423    424    +1
=====================================
+ Hits          423    424    +1

Impacted Files
Coverage Δ

src/Tooltip.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d83552e...98274f4. Read the comment docs.

Since the Tooltip extends Box,  you are able to change the width.  I think we could maybe just mention that in the docs. No extra steps needs.

Closing this out since it seems like this functionality is already available

authors: LKLopez codecov-io hakimelek jxnblk

repo: pricelinelabs/design-system

license: mit


text:
📢 Big Change! Primer version 4.0.0

This PR introduces a big reorganization to how we distribute primer.
Previously primer/primer was a single repository that contained a bunch of different components and modules to build out the source.
What we're moving too is a npm distributed model where each module is a smaller piece of CSS tied into the larger distribution package, (this repository).
All of the CSS that was in this repository previously is now in the following repositories, and available via http://npmjs.com/

primer/alerts
primer/avatars
primer/base
primer/blankslate
primer/buttons
primer/flex-table
primer/forms
primer/layout
primer/markdown
primer/navigation
primer/states
primer/support
primer/tooltips
primer/truncate
primer/utilities

The future of this repository is that it will most likely stay around and include all the modules for primer. So if you want everything you'll use this, if you want a more granular approach, you can build a package with any of the modules available.

Out of interest: why separate repos for everything instead of going for a monorepo-like design like Babel, React and others?

Out of interest: why separate repos for everything instead of going for a monorepo-like design like Babel, React and others?

The secret is, we actually are, the monorepo will be back in our github/github codebase. We'll probably write a more in-depth article about it later when we get all the workflows smoothed out.

@jonrohan Cool! Thanks for answering! 👍

It also be good if there's the ready css and min versions in the repos :)

@tunnckoCore see https://github.com/primer/primer/pull/191 and https://github.com/primer/primer/pull/193 I'm including the css in the npm module

Great, but i'm talking each component to have its css in its github repo to be accessed through cdn. Like Semantic UI works - they have both css and less on each repo.

I've done the same for all the components, they have built css in each repo. and include the scss versions.
What cdn are you using, it can't pull from npmjs.com?

Can't see the css haha.
I like to use rawgit while i play with the things.

~/Desktop/example
❯ npm install primer-markdown
/Users/jonrohan/Desktop/example
└─┬ primer-markdown@3.1.2
  └── primer-support@0.3.2

~/Desktop/example
❯ ls node_modules/primer-markdown/build
build.css

~/Desktop/example
❯ cat node_modules/primer-markdown/build/build.css
.markdown-body{font-family:"Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:16px;line-height:1.6;word-wrap:break-word}.markdown-body::before{display:table;content:""}.markdown-body::after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0 !important}.markdown-body>*:last-child{margin-bottom:0 !important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:#c00}.markdown-body .anchor{display:inline-block;padding-right:2px;margin-left:-18px}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre{margin-top:0;margin-bottom:16px}.markdown-body hr{height:4px;padding:0;margin:16px 0;background-color:#e7e7e7;bor....

Hm, maybe. I'm just looking the github page and talking for that. Access without nodejs and npm, just directly through github :) Cuz don't have time for dev env currently and want to play with some things.

https://npmcdn.com/primer-css@4.0.2/build/build.css
https://npmcdn.com/primer-alerts@0.2.6/build/build.css

Oh yea, thanks, just forgot for npmcdn. :)

authors: jonrohan petetnt tunnckoCore

repo: primer/primer


text:
build(deps): bump primer-changesets-cli to 2.2.1

With this pull request, running npx changeset will run npm run build:components.json before trying to load component names from generated/components.json

Just to confirm, this wouldn't run in the validate action right because we run it once already

This doesn't run any action, just a the build:components.json script locally on the users machine

repo: primer/react


text:
New version tag

Could you please tag the latest version with a 1.0.1 tag and update the bower package?  Thanks!

@ajp8164 Done. thanks :+1:

repo: princejwesley/angular-circular-slider


text:
train error

When I train the code , i have  shape error as follow:
[sky@gpu01 CornerNet]$ python train.py CornerNet
loading all datasets...
using 4 threads
loading from cache file: ./cache/coco_trainval2014.pkl
No cache file found...
loading annotations into memory...
Done (t=11.85s)
creating index...
index created!
118287it [00:40, 2923.89it/s]
loading annotations into memory...
Done (t=11.86s)
creating index...
index created!
loading from cache file: ./cache/coco_trainval2014.pkl
loading annotations into memory...
Done (t=10.91s)
creating index...
index created!
loading from cache file: ./cache/coco_trainval2014.pkl
loading annotations into memory...
Done (t=10.25s)
creating index...
index created!
loading from cache file: ./cache/coco_trainval2014.pkl
loading annotations into memory...
Done (t=11.62s)
creating index...
index created!
loading from cache file: ./cache/coco_minival2014.pkl
No cache file found...
loading annotations into memory...
Done (t=0.32s)
creating index...
index created!
5000it [00:01, 2962.00it/s]
loading annotations into memory...
Done (t=0.31s)
creating index...
index created!
system config...
{'batch_size': 49,
'cache_dir': './cache',
'chunk_sizes': [4, 5, 5, 5, 5, 5, 5, 5, 5, 5],
'config_dir': './config',
'data_dir': './data',
'data_rng': <mtrand.RandomState object at 0x7f2085918c60>,
'dataset': 'MSCOCO',
'decay_rate': 10,
'display': 5,
'learning_rate': 0.00025,
'max_iter': 500000,
'nnet_rng': <mtrand.RandomState object at 0x7f2085918ca8>,
'opt_algo': 'adam',
'prefetch_size': 5,
'pretrain': None,
'result_dir': './results',
'sampling_function': 'kp_detection',
'snapshot': 5000,
'snapshot_name': 'CornerNet',
'stepsize': 450000,
'test_split': 'testdev',
'train_split': 'trainval',
'val_iter': 100,
'val_split': 'minival',
'weight_decay': False,
'weight_decay_rate': 1e-05,
'weight_decay_type': 'l2'}
db config...
{'ae_threshold': 0.5,
'border': 128,
'categories': 80,
'data_aug': True,
'gaussian_bump': True,
'gaussian_iou': 0.7,
'gaussian_radius': -1,
'input_size': [511, 511],
'lighting': True,
'max_per_image': 100,
'merge_bbox': False,
'nms_algorithm': 'exp_soft_nms',
'nms_kernel': 3,
'nms_threshold': 0.5,
'output_sizes': [[128, 128]],
'rand_color': True,
'rand_crop': True,
'rand_pushes': False,
'rand_samples': False,
'rand_scale_max': 1.4,
'rand_scale_min': 0.6,
'rand_scale_step': 0.1,
'rand_scales': array([0.6, 0.7, 0.8, 0.9, 1. , 1.1, 1.2, 1.3]),
'special_crop': False,
'test_scales': [1],
'top_k': 100,
'weight_exp': 8}
len of db: 118287
start prefetching data...
shuffling indices...
start prefetching data...
shuffling indices...
Traceback (most recent call last):
File "train.py", line 42, in prefetch_data
data, ind = sample_data(db, ind, data_aug=data_aug)
File "/home/sky/CornerNet/sample/coco.py", line 182, in sample_data
return globals()[system_configs.sampling_function](db, k_ind, data_aug, debug)
File "/home/sky/CornerNet/sample/coco.py", line 96, in kp_detection
image, detections = random_crop(image, detections, rand_scales, input_size, border=border)
File "/home/sky/CornerNet/sample/utils.py", line 57, in random_crop
image_height, image_width = image.shape[0:2]
AttributeError: 'NoneType' object has no attribute 'shape'
Process Process-1:
Traceback (most recent call last):
File "/home/sky/anaconda3/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/sky/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "train.py", line 46, in prefetch_data
raise e
File "train.py", line 42, in prefetch_data
data, ind = sample_data(db, ind, data_aug=data_aug)
File "/home/sky/CornerNet/sample/coco.py", line 182, in sample_data
return globals()[system_configs.sampling_function](db, k_ind, data_aug, debug)
File "/home/sky/CornerNet/sample/coco.py", line 96, in kp_detection
image, detections = random_crop(image, detections, rand_scales, input_size, border=border)
File "/home/sky/CornerNet/sample/utils.py", line 57, in random_crop
image_height, image_width = image.shape[0:2]
AttributeError: 'NoneType' object has no attribute 'shape'
start prefetching data...
Traceback (most recent call last):
File "train.py", line 42, in prefetch_data
data, ind = sample_data(db, ind, data_aug=data_aug)
File "/home/sky/CornerNet/sample/coco.py", line 182, in sample_data
return globals()[system_configs.sampling_function](db, k_ind, data_aug, debug)
File "/home/sky/CornerNet/sample/coco.py", line 96, in kp_detection
image, detections = random_crop(image, detections, rand_scales, input_size, border=border)
File "/home/sky/CornerNet/sample/utils.py", line 57, in random_crop
image_height, image_width = image.shape[0:2]
AttributeError: 'NoneType' object has no attribute 'shape'
Process Process-2:
Traceback (most recent call last):
File "/home/sky/anaconda3/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/sky/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "train.py", line 46, in prefetch_data
raise e
File "train.py", line 42, in prefetch_data
data, ind = sample_data(db, ind, data_aug=data_aug)
File "/home/sky/CornerNet/sample/coco.py", line 182, in sample_data
return globals()[system_configs.sampling_function](db, k_ind, data_aug, debug)
File "/home/sky/CornerNet/sample/coco.py", line 96, in kp_detection
image, detections = random_crop(image, detections, rand_scales, input_size, border=border)
File "/home/sky/CornerNet/sample/utils.py", line 57, in random_crop
image_height, image_width = image.shape[0:2]
AttributeError: 'NoneType' object has no attribute 'shape'
shuffling indices...
start prefetching data...
Traceback (most recent call last):
File "train.py", line 42, in prefetch_data
data, ind = sample_data(db, ind, data_aug=data_aug)
File "/home/sky/CornerNet/sample/coco.py", line 182, in sample_data
return globals()[system_configs.sampling_function](db, k_ind, data_aug, debug)
File "/home/sky/CornerNet/sample/coco.py", line 96, in kp_detection
image, detections = random_crop(image, detections, rand_scales, input_size, border=border)
File "/home/sky/CornerNet/sample/utils.py", line 57, in random_crop
image_height, image_width = image.shape[0:2]
AttributeError: 'NoneType' object has no attribute 'shape'
Process Process-3:
Traceback (most recent call last):
File "/home/sky/anaconda3/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/sky/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "train.py", line 46, in prefetch_data
raise e
File "train.py", line 42, in prefetch_data
data, ind = sample_data(db, ind, data_aug=data_aug)
File "/home/sky/CornerNet/sample/coco.py", line 182, in sample_data
return globals()[system_configs.sampling_function](db, k_ind, data_aug, debug)
File "/home/sky/CornerNet/sample/coco.py", line 96, in kp_detection
image, detections = random_crop(image, detections, rand_scales, input_size, border=border)
File "/home/sky/CornerNet/sample/utils.py", line 57, in random_crop
image_height, image_width = image.shape[0:2]
AttributeError: 'NoneType' object has no attribute 'shape'
shuffling indices...
Traceback (most recent call last):
File "train.py", line 42, in prefetch_data
data, ind = sample_data(db, ind, data_aug=data_aug)
File "/home/sky/CornerNet/sample/coco.py", line 182, in sample_data
return globals()[system_configs.sampling_function](db, k_ind, data_aug, debug)
File "/home/sky/CornerNet/sample/coco.py", line 96, in kp_detection
image, detections = random_crop(image, detections, rand_scales, input_size, border=border)
File "/home/sky/CornerNet/sample/utils.py", line 57, in random_crop
image_height, image_width = image.shape[0:2]
AttributeError: 'NoneType' object has no attribute 'shape'
Process Process-4:
Traceback (most recent call last):
File "/home/sky/anaconda3/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/sky/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "train.py", line 46, in prefetch_data
raise e
File "train.py", line 42, in prefetch_data
data, ind = sample_data(db, ind, data_aug=data_aug)
File "/home/sky/CornerNet/sample/coco.py", line 182, in sample_data
return globals()[system_configs.sampling_function](db, k_ind, data_aug, debug)
File "/home/sky/CornerNet/sample/coco.py", line 96, in kp_detection
image, detections = random_crop(image, detections, rand_scales, input_size, border=border)
File "/home/sky/CornerNet/sample/utils.py", line 57, in random_crop
image_height, image_width = image.shape[0:2]
AttributeError: 'NoneType' object has no attribute 'shape'
building model...
module_file: models.CornerNet
start prefetching data...
shuffling indices...
total parameters: 201035212
setting learning rate to: 0.00025
training start...
0%|                                                | 0/500000 [00:00<?, ?it/s]^CTraceback (most recent call last):
How can i solve it?Thanks a lot for your help !

#21

sorry, when i change the  torch Vision to 0.4.0, I have the Import error:
ImportError: /home/sky/.local/lib/python3.6/site-packages/cpools-0.0.0-py3.6-lin                                                                             ux-x86_64.egg/top_pool.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN2at                                                                             6detail20DynamicCUDAInterface10set_deviceE

Did you recompile the corner pooling layers after you switched to 0.4.0?

Yes!When i switched to 0.4.0,I  recompiled the corner pooling layers.

I meet the same problem, and even the batch_size =1  make GPU out of memory. I have 8 GTX1080Ti

Maybe you lost some images, you can copy the 2014_val images to the minival2014

I had the same error. It is necessary to force recompile pooling layers after switching to the another torch version. When all files will be recreated.
Recompile your pooling layers with
python setup.py install --user --force

authors: GalyaZalesskaya VCBE123 heilaw muomi

repo: princeton-vl/CornerNet


text:
On install I get an error when attempting makemigrations

I created a venv on Py3.8, activated that and installed the dependencies. When I call  python manage.py makemigrations I get:
Traceback (most recent call last):
  File "manage.py", line 21, in <module>
    main()
  File "manage.py", line 17, in main
    execute_from_command_line(sys.argv)
  File "/Users/lpzjwp/code/behavioral-online-experiment/pybole/lib/python3.8/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
    utility.execute()
  File "/Users/lpzjwp/code/behavioral-online-experiment/pybole/lib/python3.8/site-packages/django/core/management/__init__.py", line 420, in execute
    django.setup()
  File "/Users/lpzjwp/code/behavioral-online-experiment/pybole/lib/python3.8/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/Users/lpzjwp/code/behavioral-online-experiment/pybole/lib/python3.8/site-packages/django/apps/registry.py", line 116, in populate
    app_config.import_models()
  File "/Users/lpzjwp/code/behavioral-online-experiment/pybole/lib/python3.8/site-packages/django/apps/config.py", line 269, in import_models
    self.models_module = import_module(models_module_name)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/lpzjwp/code/behavioral-online-experiment/experiments/models.py", line 41, in <module>
    class Page(models.Model):
  File "/Users/lpzjwp/code/behavioral-online-experiment/experiments/models.py", line 62, in Page
    javascripts = MultiSelectField(choices=javascript_files, null=True, blank=True)
  File "/Users/lpzjwp/code/behavioral-online-experiment/pybole/lib/python3.8/site-packages/multiselectfield/db/fields.py", line 72, in __init__
    self.validators[0] = MaxValueMultiFieldValidator(self.max_length)
IndexError: list assignment index out of range

Hi @peircej,
Thanks for your feedback. Indeed a new version of Django could cause this problem.
I just made the fix and a new version of the tool is now available. You can retrieve changes and update project dependencies:
pip install -r requirements.txt

Note: dependency versions are now fixed to avoid such issues in the future.
Tell me if it works now and I can close this issue.

authors: jbuisine peircej


text:
fix: tab titles not showing  | Prisma

Describe this PR

Tab titles don't show  | Prisma, but I think they should. If I favorite a Prisma docs page, I'd like to be able to find it easily by typing prisma into my browser's address bar, as opposed to trying to remember the specific title of the page I favorited.
Changes
This hardcodes homepage to false in src/templates/docs.tsx.

What issue does this fix?
This change fixes #5315.

Without this change

With this change

Docs homepage with this change

With this change

Docs homepage with this change

👋🏾 @hamirmahal
Thanks for looking into this. I've shared your PR internally for someone to review & share feedback on your PR. 🙂

@nilubava You're welcome! Thanks for merging this.

@ruheni You're welcome! Thanks for sharing the pull request.

authors: hamirmahal ruheni

repo: prisma/docs


text:
Property 'crud' does not exist on type 'ObjectDefinitionBlock<"Query">'

Hi Prisma Team, love the product and trying to work through some Proof-of-Concepts. I hope this isn't a stupid question, but I can't seem to generate t.crud using prisma2 generate.
I'm following this guide on Database Access with Prisma 2, but I hit the following error message:
Using ts-node version 8.3.0, typescript version 3.5.2
[ERROR] 12:47:51 ⨯ Unable to compile TypeScript:
src/index.ts:16:7 - error TS2339: Property 'crud' does not exist on type 'ObjectDefinitionBlock<"Query">'.

16     t.crud.findOneFoo();

Both Photon and Nexus appear to have generated successfully after prisma2 generate, but crud is simply not available on the generated Nexus type/library.
The minimal example of my code is as below. Would really appreciate any insight into whats going on with this.
Thanks in advance!
./package.json
{
  "devDependencies": {
    "ts-node": "^8.3.0",
    "ts-node-dev": "^1.0.0-pre.40",
    "typescript": "^3.5.2"
  },
  "scripts": {
    "start": "ts-node-dev ./src/index.ts"
  },
  "dependencies": {
    "@prisma/nexus": "0.0.1",
    "graphql": "^14.4.2",
    "graphql-yoga": "^1.18.1",
    "nexus": "^0.12.0-beta.6",
    "nexus-prisma": "^0.3.7"
  }
}

./prisma/schema.prisma
datasource db {
  provider = "mysql"
  url      = "mysql://..."
}

generator photon {
  provider = "photonjs"
}

generator nexus_prisma {
  provider = "nexus-prisma"
}

...[INTROSPECTED MODELS HERE]

./src/index.ts
import { nexusPrismaPlugin } from "@generated/nexus-prisma";
import Photon from "@generated/photon";
import { makeSchema, objectType } from "@prisma/nexus";
import { GraphQLServer } from "graphql-yoga";
import { join } from "path";

const photon = new Photon();

const nexusPrisma = nexusPrismaPlugin({
  photon: (ctx) => ctx.photon,
});

const Query = objectType({
  name: "Query",
  definition(t) {
    t.crud.findOneFoo();
  },
});

const schema = makeSchema({
  types: [Query, nexusPrisma],
  outputs: {
    typegen: join(__dirname, "../generated/nexus-typegen.ts"),
    schema: join(__dirname, "/schema.graphql"),
  },
  typegenAutoConfig: {
    sources: [
      {
        source: "@generated/photon",
        alias: "photon",
      },
      {
        source: join(__dirname, "types.ts"),
        alias: "ctx",
      },
    ],
    contextType: "ctx.Context",
  },
});

const server = new GraphQLServer({
  schema,
  context: { photon },
});

server.start(() => console.log(`🚀 Server ready at http://localhost:4000`));

Also, FYI: prisma2 --version shows:
prisma2@2.0.0-preview-1, binary version: 30a33bde5b1d9f79e0a48491749528da76002e24

Any luck with this?

I am following the same guide and getting the same t.crud errors plus some t.model errors.

I can confirm that starting the server/running makeSchema on a starter project doesn't get rid of this error for me.

Can confirm. I'm having the same issue.
tested in prisma2@2.0.0-preview-3.2

I looked at some of the typescript examples from photonjs.prisma.io and I was able to get things working with ts-node-dev although I am still getting crud and model errors when I run ts-node or tsc; running on preview 5.

Same error here.

Ping nexus to 0.11.7 resolved the issue.
nexus ^0.12.0-beta.6 has the problem.

i have the same issue.

You can try running the schema only with the nexusPrisma type. Add more types like Query afterward, when the typegen and schema was generated once.
const schema = makeSchema({
  types: [nexusPrisma],
  ...
})

makeSchema is not generating "nexus.ts" or "schema.graphql" files for me. const schema does get assigned the generated schema and when passed into the graphQL server making everything appear to be working fine.
Tried both @prisma/nexus 0.11.7  and 0.12.0-beta.6.
Tried all the various documentation versions using path or just strings for outputs assignment of schema and typegen.

I finally got the types to work. outputs is expecting an absolute path so I used:
outputs: {
    typegen: __dirname + "/generated/nexus.ts",
    schema: __dirname + "/generated/schema.graphql",
  },

After making sure they were generated when running ts-node-dev, I added import to the top of my index.ts:
import './generated/nexus'

I could then build with tsc

Hey @robmurtagh, this should be working now. Update your deps. You can see a working example in this repo under /example
Ref https://github.com/prisma/nexus-prisma/issues/367#issuecomment-526921529.

This is still not working for me.
I'm still getting the same error:
Property 'model' does not exist on type 'ObjectDefinitionBlock<"User">'.
Even with latest deps.
At this point I'm not even sure if I'm making mistakes or this doesn't work right now so please point me at something which definitely works.

Same here :
"dependencies": {
        "@types/node": "^12.7.12",
        "graphql": "^14.5.8",
        "graphql-yoga": "^1.18.3",
        "nexus": "^0.12.0-beta.14",
        "nexus-prisma": "^0.5.0"
    },

// package.json
import { makeSchema } from 'nexus'
import { nexusPrismaPlugin } from 'nexus-prisma'
import * as types from './types'
import { join } from 'path'

export const schema = makeSchema({
    types: [types, nexusPrismaPlugin({ types })],
    // prettierConfig: join(__dirname, '../../.prettierrc.json'),
    outputs: {
        schema: join(__dirname, '/generated/schema.graphql'),
        typegen: join(__dirname, '/generated/nexus.ts'),
    },
})

//schema.ts
I'm still getting this error:
Property 'model' does not exist on type 'ObjectDefinitionBlock<"Profile">'

Hey @poulainv, looks like you're using the legacy config style. Try referring to the current examples to aid your debugging.

You're right, I did not see the breaking changes. My bad. 🙏

All good, let me know how it goes, its still not as easy as it should be (we're working on it 😄).

Yep but when it works, dev exp is awesome ;)
And.. for now, it works well locally but when I've deployed it on heroku I got the same error 😅

@poulainv I'll setup an example for heroku soon, but for now see if the reference docs are enough: https://github.com/prisma-labs/nexus-prisma#project-setup. It actually mentions Heroku heh.

In my case the issue was misconfigured types field in tsconfig compilerOptions.

Hey @alexichepura you might be interested in https://github.com/prisma-labs/nexus/issues/284 & https://github.com/prisma-labs/nexus-cli/issues/2.

@jasonkuhrt is there a reason why you are using the import * syntax for all imports?
import * as Nexus from 'nexus'
import { nexusPrismaPlugin } from 'nexus-prisma'
import * as Query from './Query'
import * as Mutation from './Mutation'
import * as Blog from './Blog'
import * as Post from './Post'
import * as User from './User'
import * as path from 'path'

@iamandyk I personally like namespaces (ala Go) but for the data part (graphql type defs) its just a convenient pattern. For yourself, do as you please :)

authors: Mentioum alexichepura bearcanrun chenfanggm iamandyk ivorpad jasonkuhrt marcusbrose mindgutter poulainv robmurtagh trabur tylerjbainbridge

repo: prisma/nexus-prisma